yes, Ben, I understand the difference now.
To Mike: I have to select the region of the figure I need in the pdf file and paste it in the powerpoint … Isn’t this you’re doing as well?
But fine, I can go with the current quality. Thanks to you all for this discussion.
···
On Tue, Apr 22, 2014 at 3:31 PM, Benjamin Root <ben.root@…1304…> wrote:
Yes, there is a difference if you use the button versus explicitly stating the dpi in a savefig call. When you use the button, matplotlib has to use the default dpi since there is no other way to specify it.
Cheers!
Ben Root
–
please visit:
http://www.globalcarbonatlas.org/
Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
On Mon, Apr 21, 2014 at 5:03 PM, Chao YUE <chaoyuejoy@…287…> wrote:
Yes, in fact I set dpi as 1000, which is already very high. In fact I have another question, will there be any difference if I use the save button on the interactive plotting toolbar and use the command line figure.savefig(‘xx.png’,dpi=1000)?
Chao
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
On Mon, Apr 21, 2014 at 10:59 PM, Jody Klymak <jklymak@…4192…> wrote:
Did you set the dpi of the png?
Cheers, Jody
On Apr 21, 2014, at 13:50 PM, ChaoYue <chaoyuejoy@…287…> wrote:
OK, I tried but I don’t really see the difference between jpg and png by my eyes in the attached case, maybe for other more complicated plots there will be real difference. Anyway, thanks to all for your nice discussions. And, BTW, I tried >2 hours trying to find a way to convert svg to emf, but now I konw
Cheers,
Chao
View this message in context: Re: Make clear figure used in the powerpoint slides?
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
please visit:
http://www.globalcarbonatlas.org/
Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
–
On Mon, Apr 21, 2014 at 9:49 PM, Benjamin Root-2 [via matplotlib] <[hidden email]> wrote:
JPGs will always have “bit blur” as it is a lossy image format. PNGs would be a better bet.
Ben Root
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
If you reply to this email, your message will be added to the discussion below:
http://matplotlib.1069221.n5.nabble.com/Make-clear-figure-used-in-the-powerpoint-slides-tp43252p43265.html
To start a new topic under matplotlib - users, email [hidden email]
To unsubscribe from matplotlib, click here.
[NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)
–
please visit:
http://www.globalcarbonatlas.org/
Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
On Mon, Apr 21, 2014 at 3:33 PM, ChaoYue <[hidden email]> wrote:
Hi all,
Thank you all for your kind response. I am sorry, but none of these solutions significantly improved the visual quality on microsoft powerpiont 2007. Thought I didn’t try eps. So probably l have to go with the current quality.
here is a best case I have now:
https://www.dropbox.com/s/0uhjogalz92hssm/different_figure_example.pptx
You can still see the “a bit blur” everywhere (currently with jpg being inserted directly). I didn’t have better quality than this one by trying the method as suggested by you. Let me know if I am raising too much high demand for this.
Cheers,
Chao
View this message in context: Re: Make clear figure used in the powerpoint slides?
Sent from the matplotlib - users mailing list archive at Nabble.com.
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
On Mon, Apr 21, 2014 at 4:41 PM, Jonathan Slavin [via matplotlib] <[hidden email]> wrote:
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
If you reply to this email, your message will be added to the discussion below:
http://matplotlib.1069221.n5.nabble.com/Make-clear-figure-used-in-the-powerpoint-slides-tp43252p43262.html
To start a new topic under matplotlib - users, email [hidden email]
To unsubscribe from matplotlib, click here.
[NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)
–
please visit:
http://www.globalcarbonatlas.org/
Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
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, <[hidden email]> 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
[hidden email] 60 Garden Street, MS 83
phone: <a href=“tel:%28617%29%20496-7981” value=“+16174967981” target=“_blank”>(617) 496-7981 Cambridge, MA 02138-1516
fax: <a href=“tel:%28617%29%20496-7577” value=“+16174967577” target=“_blank”>(617) 496-7577 USA