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

# Rotate

 Rotate[g, ]represents 2D graphics primitives g rotated counterclockwise by radians about the center of their bounding box. Rotate[g, , {x, y}]rotates 2D graphics primitives about the point {x, y}. Rotate[g, , w]rotates 3D graphics primitives by radians around the 3D vector w anchored at the origin. Rotate[g, , w, p]rotates around the 3D vector w anchored at p. Rotate[g, {u, v}]rotates around the origin transforming the 3D vector u to v. Rotate[g, , {u, v}]rotates by angle in the plane spanned by 3D vectors u and v.
• or specifies an angle in degrees.
• You can specify special points such as {Left, Bottom} within the bounding box for g.
• Explicit coordinates are taken to be in the coordinate system of the graphic in which Rotate[...] appears.
• For objects specified with scaled coordinates Scaled[{x, y}], Rotate effectively applies its transformation to the corresponding ordinary coordinates.
• Normal[expr] if possible replaces all Rotate[gi, ...] constructs by versions of the gi in which the coordinates have explicitly been transformed.
Rotate a square by 30°:
 Out[1]=

Rotate a cuboid by 30° around the z axis:
 Out[1]=
 Scope   (8)
New in 6