Ask Your Question

How do you save a graph in eps?

asked 2015-04-03 05:04:52 -0600

jlau gravatar image

I get a file filename.eps.sobj. How do I transform it into eps?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-03 07:14:36 -0600

tmonteil gravatar image

updated 2015-04-03 07:17:32 -0600

It seems you saved your graph as a Sage object (hence the .sobj extension).

To get it back as a graph, you can do:

 sage: G = load('filename.eps.sobj')

Then you can make a plot object from your graph:

 sage: P = G.plot()

Then you can save this plot object as an .eps file, and the method will know that you want to save the plot as an eps file:


Of course, if you have a graph G in your Sage session, you can directly do:

 sage: G.plot().save('mygraph.eps')
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-04-03 05:04:52 -0600

Seen: 1,816 times

Last updated: Apr 03 '15