ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 19 Oct 2017 08:25:10 -0500Howto output plot to pdf, eps or svg ?http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?Sun, 22 Aug 2010 22:36:55 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/Answer by joy01 for <p>Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?</p>
http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=39214#post-id-39214Dearest,
Thanks for your response to my letter, I hope you are having a lovely day?, I was impress when i saw your profile, please do write me through my private email ( joyfejoku@hotmail.com) so that i can send you my pictures and tell you more about myself, I look forward to your response, kisses and hugs.
Yours,
JoyThu, 19 Oct 2017 08:25:10 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=39214#post-id-39214Answer by Wheatley for <p>Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?</p>
http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=15188#post-id-15188If the saveing function cannot work well, you can try to use a [pdf converter control](http://www.rasteredge.com/how-to/csharp-imaging/pdf-converting/) to transfer pdf to plot, beside to plot, pdf to html or image is also allowed..
Wed, 03 Jul 2013 17:48:25 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=15188#post-id-15188Answer by Mike Hansen for <p>Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?</p>
http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=11431#post-id-11431Yes, you can save plots to those formats. Here's an example
sage: p = plot(x^2, x)
sage: p.save('test.pdf')
sage: p.save('test.eps')
sage: p.save('test.svg')
It works for any of Sage's `Graphics` objects.
Sun, 22 Aug 2010 23:19:02 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=11431#post-id-11431Comment by kcrisman for <p>Yes, you can save plots to those formats. Here's an example</p>
<pre><code>sage: p = plot(x^2, x)
sage: p.save('test.pdf')
sage: p.save('test.eps')
sage: p.save('test.svg')
</code></pre>
<p>It works for any of Sage's <code>Graphics</code> objects.</p>
http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?comment=22924#post-id-22924Just 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.Mon, 23 Aug 2010 08:25:02 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?comment=22924#post-id-22924Answer by arronlee for <p>Is it possible to output a plot to a pdf, eps or svg file? Does this work for all sorts of plots?</p>
http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=15233#post-id-15233Using code is too complicated for me. As for myself, I used to do with the image conversion work with the help of anothe image conversion SDK whose processing way is simple and fast. I love it not only because of this, butalso because that it is manual. Even though I only tried its free trial package to [convert pdf and images](http://www.yiigo.com/net-document-image-sdk/conversion-support.shtml) and didn?t check the cost and licensing conditions, it works great for me. You can have a try. Good luck.Thu, 11 Jul 2013 23:48:44 -0500http://ask.sagemath.org/question/7613/howto-output-plot-to-pdf-eps-or-svg/?answer=15233#post-id-15233