Visualizing Polyhedron with specified range

asked 2015-11-08 07:44:04 -0500

yuyu gravatar image

updated 2017-01-05 15:24:08 -0500

FrédéricC gravatar image

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)

edit retag flag offensive close merge delete