Hi,
I noticed the following (inconsistent?) behavior: saving 2D plots
works as expected (a graphic file is stored), but saving 3D plots
gives .sobj files instead (see sample code below). Is there a way to
save 3D plots from the Notebook? By the way, I know how to save them
using jMol's GUI (as reached from Sage terminal), but the idea is to
be able to script this.
Thanks!
-- 
 Hector


sage: p = point([(k,k^2) for k in [0..10]])
sage: p.save(DATA+'plot2d.png')
sage: type(p)
<class 'sage.plot.plot.Graphics'>

sage: p = point3d([(k,k^2,0) for k in [0..10]], size=5)
sage: p.save(DATA+'plot3d-1.png')
sage: type(p)
<class 'sage.plot.plot3d.base.Graphics3dGroup'>

sage: p = point3d([(k,k^2,0) for k in [0..10]], size=5, viewer='tachyon')
sage: p.save(DATA+'plot3d-2.png')
sage: type(p)
<class 'sage.plot.plot3d.base.Graphics3dGroup'>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to