plottools
hexahedron
generate 3-D plot object for a hexahedron
Calling Sequence
Parameters
Description
Examples
hexahedron([x, y, z], s, options)
[x, y, z]
-
location of the hexahedron
s
(optional) scale of the hexahedron; default is 1
options
(optional) equations of the form option=value. For a complete list, see plot3d/option.
The hexahedron command creates a three-dimensional plot data object, which when displayed is a scaled hexahedron located at point [x,y,z]. Note that the scale factor is applied in each dimension. This command is an interface to the plots:-polyhedraplot routine.
The plot data object produced by the hexahedron 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:
display⁡hexahedron⁡0,0,0,0.8,color=blue,orientation=60,65
display⁡hexahedron⁡0,0,0,0.8,color=blue,hexahedron⁡1,1,1,0.5,color=pink,axes=boxed,orientation=75,50
See Also
plot3d/option
plot3d/structure
plots:-display
plots:-polyhedraplot
Download Help Document