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.

Details

Examples

open allclose all

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]=

Scope  (4)

Applications  (2)

Properties & Relations  (3)

Possible Issues  (1)

Neat Examples  (1)

See Also

ScalingMatrix  Scale  RescalingTransform  TransformationMatrix  TransformationFunction  AffineTransform

Introduced in 2007
(6.0)