First time here? Check out the FAQ!

Ask Your Question
0

How do you save a graph in eps?

asked 10 years ago

jlau gravatar image

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 10 years ago

tmonteil gravatar image

updated 10 years ago

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:

 sage: P.save('mygraph.eps')

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

 sage: G.plot().save('mygraph.eps')
Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 2,503 times

Last updated: Apr 03 '15