plottools
parallelepiped
generate 3-D plot object for a parallelepiped
Calling Sequence
Parameters
Description
Examples
parallelepiped(u, v, w, p, options)
u, v, w
-
three 3-D vectors (in list form)
p
(optional) origin of the parallelepiped, default is [0,0,0]
options
(optional) equations of the form option=value. For a complete list, see plot3d/option.
The parallelepiped command creates a three-dimensional plot data object, which when displayed is a parallelepiped positioned at p, having edges given by the vectors u, v, and w.
The plot data object produced by the parallelpiped 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:
The following creates a cube.
display⁡parallelepiped⁡1,0,0,0,1,0,0,0,1,orientation=45,60
The following creates a parallelepiped with origin at [0,1,0].
display⁡parallelepiped⁡0,0,1,0,1,1,1,1,1,0,1,0,orientation=−50,70
See Also
plot3d/option
plot3d/structure
plots:-display
plottools:-cuboid
Download Help Document