Scale
Scale[g,s]
represents graphics primitives g scaled by a factor s.
Scale[g,s,{x,y,…}]
scales with the point {x,y,…} kept fixed.
Scale[g,{sx,sy,…},…]
scales by different factors along different axes.
Details
- Scale[g,s] 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.
- The x position can be specified as Left, Center, or Right; the y position as Bottom, Center, or Top.
- Explicit coordinates {x,y} are taken to be in the coordinate system of the graphic in which Scale[…] appears.
- For objects specified with scaled coordinates Scaled[{x,y}], 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[gi,…] constructs by versions of the gi in which the coordinates have explicitly been transformed.
Examples
open allclose allScope (6)
Generalizations & Extensions (2)
Properties & Relations (1)
When possible, Normal will transform the coordinates explicitly:
Possible Issues (1)
Wolfram Research (2007), Scale, Wolfram Language function, https://reference.wolfram.com/language/ref/Scale.html (updated 2008).
Text
Wolfram Research (2007), Scale, Wolfram Language function, https://reference.wolfram.com/language/ref/Scale.html (updated 2008).
CMS
Wolfram Language. 2007. "Scale." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/Scale.html.
APA
Wolfram Language. (2007). Scale. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Scale.html