On 11/28/12 2:28 AM, Rogério Brito wrote:
Hi, Jason.
On Wed, Nov 28, 2012 at 4:26 AM, Jason Grout
<[email protected]> wrote:
On 11/27/12 11:43 PM, Rogério Brito wrote:
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
Can you try opening the svg file up in inkscape? It may be a problem with
eog.
Actually, I tried opening the svg file in inkscape and the result was
worse (no graph appearing at all).
Here is what I see, in different programs (the original svg file
generated above and its visualizations with many programs):
http://www.ime.usp.br/~rbrito/petersen-graph/
When I open the file in inkscape, the graph looks great. When I try to
view the svg in chrome, the vertices look fine, but 4 edges are missing.
Those edges appear just fine in inkscape.
If I try to see the file in a brower (no matter if try the graph in a
webkit-based browser or in a gecko-based browser), I don't see the
edges, as you can attest above.
Just to make sure it's not your Sage setup, can you try using the svg
file generated by:
http://aleph.sagemath.org/?q=0a6eed66-9356-48b3-8a7b-0a058beb5d73&lang=sage
When I click on the svg file in Firefox 15.0.1 on OS X 10.6.8, the graph
looks great.
Thanks,
Jason
--
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.