On Jan 1, 3:51 am, Volker Braun <vbraun.n...@gmail.com> wrote:
> The recommended way of plotting polyhedra is via p.plot(). The
> render_solid() method only gives you the "solid" part of the plot.

p.plot() doesn't seem to work.

In [1]: p=Polyhedron(ieqs = [[0,1,0],[0,0,1],[1,-1,-1]])
In [2]: p.plot()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call
last)

/home/mb/projects/bianchi/sage/<ipython console> in <module>()

AttributeError: 'Polyhedron' object has no attribute 'plot'

>
> Polyhedron instances can only be defined over QQ (arbitrary precision
> rational) and RDF (floating point) fields. Input checking apparently needs
> to be improved...

How hard would it be to allow (quadratic) number fields? Not
necessarily for plotting, but for computing the vertices of a polygon
expressed as the intersection of half planes?

Mladen

-- 
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
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to