generate 3-D plot object for an octahedron
octahedron([x, y, z], s, options)
[x, y, z]
location of the octahedron
(optional) scale of the octahedron; default is 1
(optional) equations of the form option=value. For a complete list, see plot3d/options.
The octahedron command creates a three-dimensional plot data object, which when displayed is a scaled octahedron 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] command.
The plot data object produced by the octahedron 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/options.
Download Help Document