plottools
semitorus
generate 3-D plot object for a semitorus
Calling Sequence
Parameters
Options
Description
Examples
semitorus([x, y, z], a..b, r, R, 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
options
(optional) equations of the form option=value. For a complete list, see plot3d/option.
Any applicable 2-D plot option in plot/options can also be given.
capped : truefalse
Specifies whether the resulting object should be capped. Note that if the range a..b is 0..2Pi, this option is ignored. The default is false.
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/option.
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/option
plot3d/structure
plots:-display
plottools:-torus
Download Help Document