plottools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/translate

plottools

  

translate

  

translate PLOT and PLOT3D data structures

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

translate(p, a, b)

translate(q, a, b, c)

Parameters

p

-

PLOT data structure

q

-

PLOT3D data structure

a, b, c

-

real numbers; distances to translate in the x, y and z directions

Description

• 

The translate command takes a plot structure and produces a new plot structure translated by the specified constants.

• 

The inputs p or q must be two- or three-dimensional plot data structures, while a, b, c are real numbers representing the distances to translate in the x, y and z directions.

• 

The result of a call to translate is a PLOT or PLOT3D data structure containing enough information to render the plot. You can assign the data structure to a variable, save it in a file, then read it back in for redisplay.  For more information about plot data structures, see plot[structure] or plot3d[structure].

• 

Several commands in the plottools package can transform plots. For a list, see the plottools help page.  The plots[changecoords] and plots[display] commands can also be used to transform plots.

Examples

withplottools:

withplots:

pplotsinx,x,x=0..2π,coords=polar:

displayp,translatep,2,3

qplot3d1,θ=0..2π,φ=0..π,coords=spherical:

displayq,translateq,1,2,3,lightmodel=light3,orientation=20,70,scaling=constrained

See Also

plot

plot3d

plot3d[structure]

plot[structure]

plots[changecoords]

plots[display]

plottools