plottools
pyramid
generate 3-D pyramid plot object from a 2-D polygon
Calling Sequence
Parameters
Description
Examples
Compatibility
pyramid(options)
pyramid(P, base=b, height=h, apex=a, options)
P
-
plot POLYGONS data structure or string understood by polygonbyname
b
(optional) z-coordinate of the base of the pyramid; defaults to 0.
h
(optional) height of the pyramid; defaults to 1.
a
(optional) two entry list specifying the coordinate of the top of the pyramid from the base; defaults to the centroid of the points of P
options
(optional) equations of the form option=value. For a complete list, see plot/options.
The pyramid command takes a two-dimensional polygon and creates a three-dimensional regular pyramid of the height specified.
The option apex=a can be used to create an offset pyramid.
The plot data object produced by the pyramid command can be used in a PLOT3D data structure or displayed using the plots:-display command.
Default square pyramid
A triangular pyramid
Very skew hexagonal pyramid
The pyramid inherits plot properties from the base polygon.
Graph of a pyramid with base and height 0.5
Properties such as color can also be specified in the pyramid command.
The plottools[pyramid] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
plot/options
plot/structure
plots:-display
plottools:-polygon
plottools:-polygonbyname
Download Help Document