Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Visualizing Polyhedron with specified range

I am working on visualizing an unbounded polyhedron with plot command. I have a trouble with the way the default visualizer plots the polyhedron. I would like to define range of (x,y,z) domain it visualizes as well as remove big blue arrow that indicates the direction on which the polyhedron extends to because unboundedness is obvious in my application.

The code I have used is following.

dd = Polyhedron(ieqs=[[0,1,-sqrt(2),0],[0,1,sqrt(2),0],[0,0,-sqrt(2),1],[0,0,sqrt(2),1]]) dd2.plot(ymax=4)

Visualizing Polyhedron with specified range

I am working on visualizing an unbounded polyhedron with plot command. I have a trouble with the way the default visualizer plots the polyhedron. I would like to define range of (x,y,z) domain it visualizes as well as remove big blue arrow that indicates the direction on which the polyhedron extends to because unboundedness is obvious in my application.

The code I have used is following.

dd = Polyhedron(ieqs=[[0,1,-sqrt(2),0],[0,1,sqrt(2),0],[0,0,-sqrt(2),1],[0,0,sqrt(2),1]]) dd2.plot(ymax=4) dd.plot(ymax=4)

click to hide/show revision 3
retagged

Visualizing Polyhedron with specified range

I am working on visualizing an unbounded polyhedron with plot command. I have a trouble with the way the default visualizer plots the polyhedron. I would like to define range of (x,y,z) domain it visualizes as well as remove big blue arrow that indicates the direction on which the polyhedron extends to because unboundedness is obvious in my application.

The code I have used is following.

dd = Polyhedron(ieqs=[[0,1,-sqrt(2),0],[0,1,sqrt(2),0],[0,0,-sqrt(2),1],[0,0,sqrt(2),1]]) dd.plot(ymax=4)

click to hide/show revision 4
retagged

Visualizing Polyhedron with specified range

I am working on visualizing an unbounded polyhedron with plot command. I have a trouble with the way the default visualizer plots the polyhedron. I would like to define range of (x,y,z) domain it visualizes as well as remove big blue arrow that indicates the direction on which the polyhedron extends to because unboundedness is obvious in my application.

The code I have used is following.

dd = Polyhedron(ieqs=[[0,1,-sqrt(2),0],[0,1,sqrt(2),0],[0,0,-sqrt(2),1],[0,0,sqrt(2),1]]) dd.plot(ymax=4)