plottools
cone
generate 3-D plot object for a cone
Calling Sequence
Parameters
Description
Examples
cone(c, r, h, options)
c
-
vertex of the cone
r
(optional) radius of base circle of the cone; default is 1
h
(optional) height of the cone; default is 1
options
(optional) equations of the form option=value. For a complete list, see plot3d/option.
The cone command creates a three-dimensional plot data object, which when displayed is a cone of height h. The vertex of the cone is located at c. The base circle of the cone is centered at c + [0,0,h] and of radius r.
The plot data object produced by the cone 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.
with⁡plottools:
with⁡plots:
An artificial ice-cream cone.
icecream ≔ cone⁡0,0,−2,0.7,2,color=Tan,sphere⁡0,0,0.2,0.75,color=Pink,style=patchnogrid:
display⁡icecream,scaling=constrained,orientation=45,70
See Also
plot/structure
plot3d/option
plots[display]
plottools[sphere]
Download Help Document