ScalingTransform

ScalingTransform[{sx,sy,}]
gives a TransformationFunction that represents scaling by a factor si along each coordinate axis from the origin.

ScalingTransform[{sx,sy,},p]
gives scaling centered at the point p.

ScalingTransform[s,v]
gives scaling by a factor s along the direction of the vector v.

ScalingTransform[s,v,p]
gives scaling along the direction of v, centered at the point p.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Scaling along the coordinate axes:

In[1]:=
Click for copyable input
Out[1]=

Scaling along the vector {1,1} 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]=
Introduced in 2007
(6.0)