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

Online Help

All Products    Maple    MapleSim


PolyhedralSets[ZPolyhedralSets]

  

PlotIntegerPoints3d

  

plot the integer points of a 3-D polyhedron

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

PlotIntegerPoints3d(zpoly)

Parameters

zpoly

-

ZPolyhedralSet

Description

• 

PlotIntegerPoints3d(zpoly) plots the integer points of zpoly.

• 

This requires zpoly to be non-parametric, three-dimensional, and bounded. If one of these assumptions does not hold, then an error is raised.

Examples

withPolyhedralSets:

withZPolyhedralSets:

Plot a three-dimensional Z-Polyhedral set.

ineqs016+2y+z,072+4x+4y+3z,02yz,024+4x+4y3z,04x+4y+3z,0484x+4y3z,0484x4y+3z,082y+z,024+4x4y+3z,0242yz,024+4x4y3z,0964x4y3z

ineqs016+2y+z,072+4x+4y+3z,02yz,024+4x+4y3z,04x+4y+3z,0484x+4y3z,0484x4y+3z,082y+z,024+4x4y+3z,0242yz,024+4x4y3z,0964x4y3z

(1)

psPolyhedralSetineqs;PolyhedralSets:-Plotps

ps{Coordinates:x,y,zRelations:yz2−8,y+z20,yz24,y+z212,xy3z4−18,xy+3z4−6,x+y3z4−6,x+y+3z46,xy3z40,xy+3z412, and 2 more constraints

LLatticeMatrix1,0,2,0,1,1,0,0,2,Vector0,0,1

LLattice1020−11002,001

(2)

varsx,y,z

varsx,y,z

(3)

zpZPolyhedralSetineqs,vars,:-lattice=L

zpRelations:02yz016+2y+z082y+z0242yz04x+4y+3z072+4x+4y+3z024+4x4y+3z024+4x+4y3z024+4x4y3z0484x4y+3z0484x+4y3z0964x4y3zVariables:x,y,zParameters:ParameterConstraints:Lattice:ZSpan1020−11002,,,001

(4)

PlotIntegerPoints3dzp

Trying to plot a Z-Polyhedral set which is not three-dimensional.

ineqsx+2y34,x+y1,111x+2411y

ineqsx+2y34,x+y1,x11+2411y

(5)

zpZPolyhedralSetineqs,x,y

PlotIntegerPoints3dzp

Error, (in PolyhedralSets:-ZPolyhedralSets:-PlotIntegerPoints3d) cannot handle this ZPolyhedralSet: its dimension is 2 instead of 3

Compatibility

• 

The PolyhedralSets:-ZPolyhedralSets:-PlotIntegerPoints3d command was introduced in Maple 2023.

• 

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

See Also

ZPolyhedralSets:-IsEmpty

ZPolyhedralSets:-IsIntegerPointOf

ZPolyhedralSets:-SamplePoint

ZPolyhedralSets:-IntegerPointDecomposition

ZPolyhedralSets:-IsContained

ZPolyhedralSets:-ZPolyhedralSet

ZPolyhedralSets

PolyhedralSets