generate 3-D plot object for a cylinder
cylinder(c, r, h, capped=boolean, strips=n, options)
center of the base circle of the cylinder
(optional) radius of the cylinder; default is 1
(optional) height of the cylinder; default is 1
(optional) specifies whether the resulting object should be capped; default is true
(optional) number of sides; default is 24
The cylinder command creates a three-dimensional plot data object, which when displayed is a cylinder of height h. The base circle of the cylinder is centered at c, of radius r, and parallel to the xy-plane.
The plot data object produced by the cylinder command can be used in a PLOT3D data structure, or displayed using the plots[display] command.
The cylinder is capped on both ends unless you specify the capped = false option.
The cylinder is constructed of n vertical strips, which can be specified with the strips = n option. The default number of strips is 24.
Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot3d/options.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.