The plot routine for polyhedra (and also the render_solid and the 
render_wireframe method) seem to plot only part of the polyhedron. 

Take as an example

q1=Polyhedron( vertices=[[0,0]], lines=[[-2,1]], rays=[[0,42]])
q.plot()

Here only the line [-2,1] and a strip of length 1 in direction [0,1] is 
plotted. Even worse 
q.plot(ymin=-3,ymax=3,xmin=-3,xmax=3) gives only part of the strip, which 
could be contained in the image. 

As very simple example of this phenomenon is obtained by trying to plot a 
half infinite ray:

p=Polyhedron(rays=[[2,4]])
p.plot(ymin=-3,ymax=3,xmin=-3,xmax=3)

which plots nothing else than the vector (1,2). The same works is true for 
lines.

Is this intended behavior? Is there a way to plot half-infinite rays? If 
not, should there be way to do that?

One could asked the same questions for non-compact polyhedra in 3 
dimensional space. 

moritz

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


Reply via email to