create a 3-D point plot with polyhedra - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : plots : plots/polyhedraplot

plots[polyhedraplot] - create a 3-D point plot with polyhedra

Calling Sequence

polyhedraplot(L, options)

Parameters

L

-

set or list of three-dimensional points

Description

• 

The polyhedraplot function is used to create a three-dimensional plot of points with polyhedra. The points that are to be plotted come from the set or list L. L is in the form [[x1,y1,z1],[x2,y2,z2],...,[xn,yn,zn]]. If there is only one point, then it may be simply [x, y, z].

• 

The two specific options to this function are polyscale = s, where s is a constant and polytype = t, where t is a name. The polyscale option controls the size of each polyhedron, and the polytype option is the type of polyhedron (for example, tetrahedron, octahedron, ...). For a complete set of polyhedra names that are supported, see plots[polyhedra_supported]. The default scale is 1, and the default type of polyhedron is tetrahedron.

• 

Additional arguments are interpreted as plot3d options which are specified as equations of the form option = value. See plot3d/option for details.

• 

The result of a call to polyhedraplot is a PLOT3D structure which can be rendered by the plotting device. The user may assign a PLOT3D value to a variable, save it in a file, then read it back in for redisplay. See plot3d/structure.

• 

polyhedraplot may be defined by with(plots) or with(plots,polyhedraplot). It can also be used by the name plots[polyhedraplot].

Examples

withplots:

p:=seqcostπ5010+4sin9tπ50,sintπ5010+4sin9tπ50,4cos9tπ50,t=0..200:

polyhedraplotp,polyscale=0.4,polytype=hexahedron,scaling=constrained,orientation=76,40

The command to create the plot from the Plotting Guide is

polyhedraplot0,0,0,polytype=dodecahedron,scaling=constrained,orientation=71,66

See Also

plot3d/option, plot3d/structure, plots/polygonplot, plots/polyhedra_supported


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam