FW: matplotlib plots into powerpoint

Powerpoint supports PNG & TIFF

One option would thus be to generate an EPS with the PS backend (using

Then convert it to TIFF of PNG using Ghostscript.

Here is an example from a python script I use to generate png's with
alpha transparance for web use with M4 Circuit Macros...

pngwrite_cmd="gswin32c -dQUIET -dBATCH -dNOPAUSE -dSAFER -dEPSCrop
-sDEVICE=pngalpha -r600 -sOutputFile="+filename+".png "+filename+".eps"

Then in PowderPoint use "Insert" -> "Picture" -> Graphics from File"

And "drag" to the desired size...



-----Original Message-----
From: matplotlib-users-admin@lists.sourceforge.net
[mailto:matplotlib-users-admin@lists.sourceforge.net] On
Behalf Of Ryan Krauss
Sent: 11 April 2006 16:39
To: matplotlib-users
Subject: Re: [Matplotlib-users] matplotlib plots into powerpoint

I will test out a 600dpi png in a powerpoint slide and see
how I feel about it.

I need to use usetex. Does that work with the svg backend?

As a last resort, I will dump the data to a text file from
Python and use Matlab to generate wmf's (the horror!). I am
o.k. with it because this is the last time I will ever have
to do one of these (provided I graduate soon).