On 11/28/2012 01:43 PM, Rogério Brito wrote:
Hi there.

I was just trying to get my feet wet with Sage by generating some SVG files of 
graphs for use with my LaTeX documents, but I noticed a problem:

In the following session, with Sage 5.4.1 (actually, 
sage-5.4.1-linux-32bit-ubuntu_12.04.1_lts-i686-Linux) running on a Debian sid 
machine, I get a strange error:

g = graphs.PetersenGraph()
g.plot().save('petersen.png') # generated OK
g.plot().save('petersen.pdf') # also generated OK
g.plot().save('petersen.svg') # not OK


The svg graph shows up fine when viewed in my file browser (as a thumbnail), when viewed using display (from imagemagick), when viewed using feh (uses imlib2), and when viewed using inkscape. So, I suspect it is a problem with your viewer.


--
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