Hi Gabriele,
Matplotlib currently does not do this. The problem, as I understand it (and
there are others on this list that may correct me), is that there is a lot of
information that needs to be written into the prologue at the beginning of
the file, like font information. This makes it difficult to append to an
existing file, since each page description could require different
information in the prologue.
As an alternative, you could create multiple eps files. In the process, you
could write a script that generates a simple latex document and embeds your
eps files. Then you could convert that into PS. There are examples of this in
"Python Scripting for Computational Science" by Hans Petter Langtangen.
Darren
On Wednesday 20 April 2005 3:29 am, Gabriele Garavini wrote:
> Hi,
> I'm new to matplotlib, I'm trying to save a series of plots in a single
> postscript files. Is that possible?
> I'm able to save each single plot in a different file using savefig,
> but I'd like my script to save the plots in a single ps file with more
> pages. Is there anyway to open a ps file, send the output of the plot()
> command to it and close it as the script ends?
>
> Thanx
> Cheers
> Gabriele
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime
> info, new features, or free trial, at:
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale
Bard Hall
Department of Materials Science and Engineering
Cornell University
Ithaca, NY. 14850
dd...@co...
|