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

ScalingTransform

ScalingTransform
gives a TransformationFunction that represents scaling by a factor along each coordinate axis from the origin.
ScalingTransform
gives scaling centered at the point p.
ScalingTransform
gives scaling by a factor s along the direction of the vector v.
ScalingTransform
gives scaling along the direction of v, centered at the point p.
Scaling along the coordinate axes:
Scaling along the vector by a factor s:
Vectors in the scaling direction get scaled by a factor s:
Scaling along the coordinate axes:
In[1]:=
Click for copyable input
Out[1]=
 
Scaling along the vector by a factor s:
In[1]:=
Click for copyable input
Out[1]=
Vectors in the scaling direction get scaled by a factor s:
In[2]:=
Click for copyable input
Out[2]=
Scaling along the coordinate axes about the point :
Scaling along the vector about the point by a factor s:
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
A projection can be viewed as a special case of scaling:
Scaling a circle in different directions:
The inverse of ScalingTransform is given by ScalingTransform:
The inverse of ScalingTransform is given by ScalingTransform:
When the directions along which scalings are applied are orthogonal, transforms commute:
In this case the order in which transformations are applied does not matter:
The order in which scaling transformations are applied is significant:
The difference between applying the transforms in different order:
Scale a 3D object about a point p:
Scale along the axis:
Scale along the axis:
Scale along the axis:
New in 6