This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Scale

Scale
represents graphics primitives g scaled by a factor s.
Scale
scales with the point kept fixed.
Scale
scales by different factors along different axes.
  • Scale scales with the center of the bounding box of g kept fixed.
  • You can specify special points such as {Left, Bottom} within the bounding box for g to be kept fixed.
  • Explicit coordinates are taken to be in the coordinate system of the graphic in which Scale[...] appears.
  • For objects specified with scaled coordinates Scaled, Scale effectively applies its transformation to the corresponding ordinary coordinates.
  • Scale can modify the regions allocated to Text and Inset objects, but does not directly affect their contents, and does not scale fonts or other textual elements. »
  • Normal[expr] if possible replaces all Scale constructs by versions of the in which the coordinates have explicitly been transformed.
Transform a 2D shape:
Transform a 3D shape:
Transform a 2D shape:
In[1]:=
Click for copyable input
Out[1]=
 
Transform a 3D shape:
In[1]:=
Click for copyable input
Out[1]=
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
The transformations can be nested:
Apply transformation to scaled coordinates:
Keep the point fixed:
Keep the top-left corner of the circle's bounding box fixed:
Use Scale to flip text along the axis:
Flip along the axis:
The size of text is affected by Scale only when it is specified using Scaled:
When possible, Normal will transform the coordinates explicitly:
By default, scaling in 2D is done to keep the center of the bounding box fixed:
Explicitly set the origin to be fixed:
Projections of a cylinder:
New in 6 | Last modified in 7