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

Online Help

All Products    Maple    MapleSim


plottools

  

torus

  

generate 3-D plot object for a torus

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

torus([x, y, z], r, R, options)

Parameters

[x, y, z]

-

(optional) center of the torus; default=[0,0,0]

r

-

(optional) radius of the meridian; default=1

R

-

(optional) distance from center of meridian to center of the torus; default=2

options

-

(optional) equations of the form option=value. For a complete list, see plot3d/option.

Description

• 

The torus command creates a three-dimensional plot data object, which when displayed is a torus centered at [x,y,z], whose meridian has radius r and distance from the center of a meridian to the center of the torus is R.

• 

The plot data object produced by the torus command can be used in a PLOT3D data structure, or displayed using the plots:-display command.

• 

Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot3d/option.

Examples

withplottools:

withplots:

displaytorus1,1,1,1,2,scaling=constrained,lightmodel=light1,shading=zgrayscale

See Also

plot3d/option

plot3d/structure

plots:-display

plottools

plottools:-semitorus