Search for all pages containing Rotate
Mathematica > Visualization and Graphics > Computational Geometry > Geometric Transforms >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Transformations > Geometric Transforms >

Rotate

Updated In 7 Graphic
Rotate[g, Theta]
represents 2D graphics primitives or any other objects g rotated counterclockwise by Theta radians about the center of their bounding box.
Rotate[g, Theta, {x, y}]
rotates about the point {x, y}.
Rotate[g, {u, v}]
rotates around the origin, transforming the 2D or 3D vector u to v.
Rotate[g, Theta, w]
rotates 3D graphics primitives by Theta radians around the 3D vector w anchored at the origin.
Rotate[g, Theta, w, p]
rotates around the 3D vector w anchored at p.
Rotate[g, Theta, {u, v}]
rotates by angle Theta in the plane spanned by 3D vectors u and v.
  • Theta Degree or theta  degrees specifies an angle in degrees.
  • If Rotate appears outside of a graphic, the object g in Rotate[g, Theta], 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 {x, y} are taken to be in the coordinate system of the graphic.
  • If Rotate appears outside of a graphic, the coordinates {x, y} are taken to run from -1 to +1 across the bounding box of the object being rotated.
  • For objects specified with scaled coordinates Scaled[{x, y}], Rotate effectively applies its transformation to the corresponding ordinary coordinates.
  • If Rotate appears inside a graphic, Normal[expr] if possible replaces all Rotate[gi, ...] constructs by versions of the gi in which the coordinates have explicitly been transformed.
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team