plottools
prism
generate 3-D prism plot object from a 2-D polygon
Calling Sequence
Parameters
Description
Examples
Compatibility
prism(P, options)
prism(P, base=b, height=h, displacement=d, options)
P
-
plot POLYGONS data structure
b
(optional) z-coordinate of the base of the prism; defaults to 0.
h
(optional) height of the prism; defaults to 1.
d
(optional) two entry list specifying the [x,y] displacement of the top of the prism from the base; defaults to [0,0].
options
(optional) equations of the form option=value. For a complete list, see plot/options.
The prism command takes a two-dimensional polygon plot structure and creates a three-dimensional regular prism of the height specified.
The option displacement=d can be used to create an oblique prism.
The plot data object produced by the prism command can be used in a PLOT3D data structure or displayed using the plots[display] command.
A triangular prism
Graph of the sector
Graph of a prism with base and height 0.5
The plottools[prism] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
plot/options
plot/structure
plots[display]
Download Help Document