Plot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

Plot

  

plot a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Plot(polyset)

Plot(polyset, options)

Parameters

polyset

-

polyhedral set or list of polyhedral sets

options

-

(optional) list of options for formatting the plot.

Description

• 

Plots the given polyhedral set(s) in their coordinate space.  The sets must all have either two or three coordinates.

• 

The options parameter is a sequence of name = value pairs.  When there are two coordinates, the plot/options can be specified, and the plot3d/options specified when there are three coordinates.

• 

The style of the faces, edges, vertices and set interiors can be controlled individually by specifying faceoptions = [name = value], edgeoptions = [name = value], vertexoptions = [name = value], or interioroptions = [name = value], where the lists are formed of the valid options from either plot/options or plot3d/options.  Style options specified in options will be applied to the face of highest dimension in polyset.  By default, the faces, edges, vertices and interior are all drawn explicitly to distinguish between bounded and unbounded sets.

• 

If polyset is a list of polyhedral sets, the above options can be given as a list in the form of e.g. faceoptions = [ color = [color1, color2,...], thickness = [10, 12, ...], ...] to style the sets individually.

Examples

withPolyhedralSets:

The cube plotted with the default style

cExampleSets:-Cube:Plotc

The faces of a set can be styled independently using the standard plot options

Plotc,faceoptions=color=purple,transparency=0.5,edgeoptions=color=black,vertexoptions=color=red,symbolsize=30

The following set has two faces, one edge and no vertices and extends to infinity.

pPolyhedralSety13z,y1313z,x,y,z:IsBoundedp

false

(1)

The interior of the set is rendered transparently by default.

Plotp

An empty set generates an empty plot

PlotExampleSets:-EmptySetx,y,z

Lists of plots will be drawn with different colors automatically

pssSplitIntoSimplicesc

pss{Coordinates:x1,x2,x3Relations:x31,x2+x30,x1+x20,x11,{Coordinates:x1,x2,x3Relations:x21,x2x30,x1+x30,x11,{Coordinates:x1,x2,x3Relations:x31,x21,x1+x30,x1x20,{Coordinates:x1,x2,x3Relations:x2+x30,x21,x11,x1x30,{Coordinates:x1,x2,x3Relations:x31,x21,x1+x20,x1x30,{Coordinates:x1,x2,x3Relations:x31,x2x30,x11,x1x20

(2)

Plotpss,transparency=0.3

Compatibility

• 

The PolyhedralSets[Plot] command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

PolyhedralSets[Graph]

PolyhedralSets[Faces]

PolyhedralSets[PolyhedralSet]

PolyhedralSets