create a three-dimensional plot of objects supported in the geom3d package
object to be plotted
[obj_1, ..., obj_n]
list of object(s) to be plotted
The routine draw provides the graphical visualization of all objects supported in the geom3d package.
A typical call to the draw function is draw([ obj_1(localopts_1),...,obj_n(localopts_n) ], globalopts) where obj_1, ..., obj_n are geometric objects, localopts_1, ..., localopts_n are local options for a particular object, and globalopts are options which apply to all of the objects.
localopts_i is a sequence of type equation. The set of options allowed for localopts_i is color, contours, grid, gridstyle, linestyle, numpoints, style, symbol, symbolsize, thickness, cutout, cutin, transparency. The contours, grid, numpoints, cutout and cutin options can only be provided as local options.
For detailed descriptions of the options, see plot3d/option.
globalopts: the set of options allowed for globalopts is the same as that for plot3d. Besides these options, two options cutin, cutout are added. See plottools[cutin] and plottools[cutout]. Also see plot/options for detailed descriptions of other options.
Note that the localopts_i that are defined for an object have precedence over globalopts when obj_i is drawn.
The command with(geom3d) allows the use of the short form of this command.
point⁡o,0,0,0:r ≔ 1.:
Define small stellated dodecahedron p with center o, radius r:
Find the reciprocal polyhedron dp of p with respect to the sphere s
draw⁡p⁡color=red,dp⁡color=green,cutout=78,lightmodel=light4,title=`dual of small stellated dodecahedron`,orientation=0,32
The commands to create the plot from the Plotting Guide are
p ≔ draw⁡p2:
q ≔ plottoolshomothety⁡p,3:
Download Help Document
What kind of issue would you like to report? (Optional)