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.
On Wednesday 20 April 2005 3:29 am, Gabriele Garavini wrote:
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?
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:
Matplotlib-users mailing list
Darren S. Dale
Department of Materials Science and Engineering
Ithaca, NY. 14850