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

Scaled

Scaled
gives the position of a graphical object in terms of coordinates scaled to run from 0 to 1 across the whole plot range in each direction.
Scaled
gives a position obtained by starting at ordinary coordinates , then moving by a scaled offset .
  • Scaled can be used to specify scaled coordinates in any two- or three-dimensional graphics primitive.
  • You can use Scaled to represent objects that occupy a fixed region in a plot, independent of the specific range of coordinates in the plot.
  • Scaled can be used not only for coordinates, but also for scalar length measures such as radii.
  • In 2D graphics, Scaled[r] is taken to be relative to the width of the whole graphic. In 3D graphics, it is taken to be relative to the diagonal of the 3D bounding box.
Positions of objects by fractions of the plot range:
Plot range padding by fractions of the plot range:
Cell sizes by a fraction of the document width:
Positions of objects by fractions of the plot range:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Plot range padding by fractions of the plot range:
In[1]:=
Click for copyable input
Out[1]=
 
Cell sizes by a fraction of the document width:
In[1]:=
Click for copyable input
Out[1]=
Specify coordinates by fractions of the plot range:
Specify radii by fractions of the plot range:
Specify the positions of light sources by scales of the plot range:
Specify ImageSize by a fraction of the enclosing region:
Specify ItemSize by a fraction of the document width:
Specify PlotRangePadding by fractions of the plot range:
Specify the font size according to the width of the plot range:
Specify scaled offsets from the ordinary coordinates:
In 2D graphics, Scaled radius is taken to be relative to the width of the whole graphic:
In 3D graphics, it is taken to be relative to the diagonal of the 3D bounding box:
Place text at the top right-hand corners:
Scaled is proportional to PlotRange. ImageScaled is proportional to ImageSize:
Scaled operates relative to the plot range:
ImageScaled operates relative to the whole image:
Scaled coordinates do not have to be between 0 and 1:
In 2D the transformation from world coordinates to Scaled coordinates is given by:
From Scaled to world coordinates:
In 3D the transformation from world coordinates to Scaled coordinates is given by:
From Scaled to world coordinates:
Objects with Scaled coordinates outside 0 and 1 may not be displayed in 3D:
Using Scaled sizes will depend on the PlotRange:
Using automatic plot range with Scaled may cause an ambiguity:
Having objects in the graphic with nonscaled coordinates will disambiguate the scale:
Using a fixed plot range will also disambiguate the scale:
New in 1 | Last modified in 7