sphere - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


plottools

  

sphere

  

generate 3-D plot object for a sphere

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

sphere(c, r, options)

Parameters

c

-

(optional) list(realcons); center of the sphere

r

-

(optional) realcons; radius of the sphere

options

-

(optional) equations of the form option=value as described in the plot3d/option help page

Description

• 

The sphere command creates a three-dimensional plot data object, which when displayed is a sphere centered at c and of radius r.  The default values for c and r are 0,0,0 and 1, respectively.

• 

A call to sphere produces a plot data object, which 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:

csphere1,1,1,3.3:

displayc,scaling=constrained,axes=boxed

dsphere1,5,1,2:

displayc,d,scaling=constrained,style=patchnogrid

See Also

plot3d/option

plot3d/structure

plots:-display

plottools