Ask Your Question

Howto output plot to pdf, eps or svg ?

asked 2010-08-22 22:36:55 -0500

schilly gravatar image

Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-07-03 17:48:25 -0500

Wheatley gravatar image

If the saveing function cannot work well, you can try to use a pdf converter control to transfer pdf to plot, beside to plot, pdf to html or image is also allowed..

edit remove flag flag offensive (1) delete link more

answered 2010-08-22 23:19:02 -0500

Mike Hansen gravatar image

Yes, you can save plots to those formats. Here's an example

sage: p = plot(x^2, x)

It works for any of Sage's Graphics objects.

edit flag offensive delete link more



Just FYI - this doesn't work for 3d objects, which are not `Graphics` - docs say that it has to be PNG, BMP, GIF, PPM, or TIFF.

kcrisman gravatar imagekcrisman ( 2010-08-23 08:25:02 -0500 )edit

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: 2010-08-22 22:36:55 -0500

Seen: 7,608 times

Last updated: Jul 11 '13