This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Rotate

 Rotaterepresents 2D graphics primitives or any other objects g rotated counterclockwise by radians about the center of their bounding box. Rotaterotates about the point . Rotaterotates around the origin, transforming the 2D or 3D vector u to v. Rotaterotates 3D graphics primitives by radians around the 3D vector w anchored at the origin. Rotaterotates around the 3D vector w anchored at p. Rotaterotates by angle in the plane spanned by 3D vectors u and v.
• Degree or ° specifies an angle in degrees.
• If Rotate appears outside a graphic, the object g in Rotate etc. can be any expression.
• You can specify special points such as {Left, Bottom} within the bounding box for g.
• If Rotate appears within a graphic, the coordinates are taken to be in the coordinate system of the graphic.
• If Rotate appears outside a graphic, the coordinates are taken to run from to across the bounding box of the object being rotated.
• For objects specified with scaled coordinates Scaled, Rotate effectively applies its transformation to the corresponding ordinary coordinates.
• If Rotate appears inside a graphic, Normal[expr] if possible replaces all Rotate constructs by versions of the in which the coordinates have explicitly been transformed.
Rotate a square by 30°:
Rotate a cuboid by 30° around the axis:
Rotate text by 45°:
Rotate a square by 30°:
 Out[1]=

Rotate a cuboid by 30° around the axis:
 Out[1]=

Rotate text by 45°:
 Out[1]=
 Scope   (8)
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
Rotation around the axis, keeping the point fixed:
Rotation mapping vector to vector :
Rotation in the plane spanned by vectors and :
Rotate text:
Rotate objects with scaled coordinates:
Keep the lower-right corner of the rectangle fixed:
 Applications   (2)
Grid with vertical text:
Diamond grid:
When possible, Normal will transform the coordinates explicitly:
By default Rotate uses the center of the bounding box as the center of rotation:
Explicitly specify a center of rotation:
Transforming an object may move it out of view:
Adjust the PlotRange to display the transformed object:
The center of the baseline of rotated text aligns with the baseline of the surrounding text:
For a different alignment, specify an explicit center of rotation:
Rotations of a regular polygon:
Nested, rotated square roots:
New in 6 | Last modified in 7