plottools
semitorus
generate 3-D plot object for a semitorus
Calling Sequence
Parameters
Description
Examples
semitorus([x, y, z], a..b, r, R, capped=boolean, options)
[x, y, z]
-
center of the semitorus
a..b
range of the semitorus in radians
r
(optional) radius of the meridian; default=1
R
(optional) distance from center of meridian to center of the semitorus; default=2
capped=boolean
(optional) specifies whether the resulting object should be capped; default is false
options
(optional) equations of the form option=value. For a complete list, see plot3d/options.
The semitorus command creates a three-dimensional plot data object, which when displayed is a section of the torus centered at [x,y,z], whose meridian has radius r and distance from the center of a meridian to the center of the semitorus is R. The semitorus starts at radian angle a and ends at radian angle b.
A call to semitorus 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/options.
with⁡plottools:
with⁡plots:
display⁡semitorus⁡1,1,1,0..π2,2,7,lightmodel=light4,orientation=−140,60,scaling=constrained,style=surface
See Also
plot3d/options
plot3d/structure
plots[display]
plottools[torus]
Download Help Document
What kind of issue would you like to report? (Optional)