|
From: Slavin, J. <js...@cf...> - 2014-04-21 14:40:24
|
Another alternative, if a vector graphics format doesn't work, is to make your png figure large. Then when you shrink it down to fit in your slide, it should still have good resolution. Jon On Mon, Apr 21, 2014 at 10:13 AM, < mat...@li...> wrote: > No Powerpoint version I know supports SVG (or any vector graphics format > useful in this case) and Matplotlib does not > export WMF graphics anymore. So the easiest way is to use PNGs, if you can > live with raster graphics. > > Alternatively, if you need vector graphics, you can export the Matplotlib > plot as SVG and convert it to WMF or EMF using > Inkscape. This can be done in the command line like this: > > "c:\Program Files\Inkscape-0.48\inkscape.exe" --without-gui > --export-emf="output.emf" "input.svg" > > > Juergen > -- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 fax: (617) 496-7577 USA ________________________________________________________ |