homothety - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plottools

  

homothety

  

scale PLOT and PLOT3D data structures with the same ratio

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

homothety(p, a, pt_2d)

homothety(q, a, pt_3d)

Parameters

p

-

plot data structure

q

-

plot3d data structure

a

-

real number

pt_2d

-

(optional) list of two real numbers specifying the center of the homothety (for the 2-D case)

pt_3d

-

(optional) list of three real numbers specifying the center of the homothety (for the 3-D case)

Description

• 

The homothety command is a special case of the plottools:-scale command where the ratios of the scaling with respect to the axis are the same.

• 

There are several other commands in the plottools package that transform plots, and these are listed in the plottools help page. The plots:-changecoords and plots:-display commands can also be used to transform plots.

Examples

Homothety of a stellated icosahedron

withgeom3d:

icosahedronp1,pointo,0,0,0,1:

stellatep2,p1,10:

pdrawp2:

qplottools:-homothetyp,3:

withplottools:

plots:-displayp,q,scaling=constrained,lightmodel=light4,orientation=0,32

See Also

plot/structure

plot3d/structure

plots:-changecoords

plots:-display

plottools

plottools:-scale