Thanks for the fast reply!

On Tuesday, September 18, 2012 6:24:29 PM UTC+2, Volker Braun wrote:
>
> There is not enough space on your screen to plot non-compact polyhedra, so 
> what exactly do you expect as output? 

well, the same is true for function plotting but f=3*x; plot(f) gives a 
reasonable result. I would expect the plot function to choose good 
boundaries. 
 

> Right now, the compact part plus (minkowski sum) the interval (origin, ray 
> generator) is drawn. I guess you expect the whole half plane clipped by the 
> plot window? 

exactly!
 

> How big should the plot window be if you only give it the half plane?

Possibly a good heuristic would be to leave the plot as big as it is 
automatically (which already makes some choices, e.g 
p=Polyhedron(vertices=[[0,0]]);p.plot()
)
but don't only plot the Minkowski sum but also everything else, that would 
belong to the polytope within these boundaries. 
In the case of the half plane, it depends on the which half plane we are 
talking about. For 

q=Polyhedron(lines=[[1,0]], rays=[[1,2]]); q.plot()

the standard output looks fine to me, but for 

p=Polyhedron(lines=[[1,2]], rays=[[0,1]]);p.plot()

or the example above I would like to see more. 
Since the Vrepresentation is unique and already given, it shouldn't be to 
hard to get good boundaries. (And this has been done already..)
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to