 plottools - Maple Programming Help

Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/tetrahedron

plottools

 tetrahedron
 generate 3-D plot object for a tetrahedron

 Calling Sequence tetrahedron(p, s, options) tetrahedron(t, options)

Parameters

 p - a list of three values specifying the location of the tetrahedron s - (optional) scale of the tetrahedron; default is 1 t - a list containing four points (each a list of three values) options - (optional) equations of the form option=value. For a complete list, see plot3d/options.

Description

 • The tetrahedron command, with the first calling sequence, creates a three-dimensional plot data object, which when displayed is a scaled tetrahedron located at point p. Note that the scale factor is applied in each dimension. This command is an interface to the plots[polyhedraplot] command.
 • Alternatively, the four vertices of the tetrahedron may be provided using the second calling sequence.
 • The plot data object produced by the tetrahedron 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.

Examples

 > $\mathrm{with}\left(\mathrm{plottools}\right):$
 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{display}\left(\mathrm{tetrahedron}\left(\left[0,0,0\right],0.8\right),\mathrm{orientation}=\left[-55,65\right]\right)$ > $\mathrm{display}\left(\mathrm{tetrahedron}\left(\left[0,0,0\right],0.8\right),\mathrm{tetrahedron}\left(\left[1,1,1\right],0.5\right),\mathrm{orientation}=\left[-45,65\right]\right)$ > $\mathrm{display}\left(\mathrm{tetrahedron}\left(\left[\left[0,2,1\right],\left[3,3,1\right],\left[2,5,1\right],\left[1,3,4\right]\right]\right),\mathrm{color}="Blue",\mathrm{transparency}=0.5\right)$ Compatibility

 • The p and t parameters were introduced in Maple 2015.