Make clear figure used in the powerpoint slides?

​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, < matplotlib-users-request@lists.sourceforge.net> 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
jslavin@...1081... 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
fax: (617) 496-7577 USA
________________________________________________________

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

···

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: (617) 496-7981 Cambridge, MA 02138-1516
fax: (617) 496-7577 USA


JPGs will always have “bit blur” as it is a lossy image format. PNGs would be a better bet.

Ben Root

···

On Mon, Apr 21, 2014 at 3:33 PM, ChaoYue <chaoyuejoy@…287…> 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

Matplotlib-users@lists.sourceforge.net

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: (617) 496-7981 Cambridge, MA 02138-1516
fax: (617) 496-7577 USA


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 :stuck_out_tongue:

Cheers,

Chao

···

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


Did you set the dpi of the png?

Cheers, Jody

···

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


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

···

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@…83…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 :stuck_out_tongue:

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

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


In fact I guess it could also be related with the display card of the PC I am using. I find I have different quality on my two different laptops (one with fedora and one with ubuntu). But it’s getting too complicated … I don’t want to got this far and so let us forget about this.

Cheers,

Chao

···

On Mon, Apr 21, 2014 at 11: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


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 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 :stuck_out_tongue:

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

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


Why not save to PDF? Drops straight into Powerpoint...

M

···

On 4/21/14, 4:50 PM, ChaoYue 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 :stuck_out_tongue:

Cheers,

Chao

On Mon, Apr 21, 2014 at 9:49 PM, Benjamin Root-2 [via matplotlib] > <[hidden email] </user/SendEmail.jtp?type=node&node=43266&i=0>> wrote:

    JPGs will *always* have "bit blur" as it is a lossy image format.
    PNGs would be a better bet.

    Ben Root

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

···

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 :stuck_out_tongue:

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

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


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.

Cheers,

Chao

···

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 :stuck_out_tongue:

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

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


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?

Why do you need to select a region? This takes a screen grab that will be terrible quality, doesn’t it? Just drag the file into powerpoint (or use insert/picture). If you need to crop the PDF do that in Acrobat, or whatever PDF software you use.

Cheers, Jody

···

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 :stuck_out_tongue:

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

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


On a windows computer, I found these instructions for inserting a pdf file into powerpoint: [1] These instructions indicate that you can not simply insert a pdf picture, as is done on a Mac, which might explain why he was selecting a region of the figure in a pdf viewer.

Chao,

I'm not sure if the dpi setting or png format for savefig helped you. In the future if you have to cut out a part of a pdf file, and if you are using Adobe reader, then there is a setting in the preferences for customizing the resolution of the clip you are selecting.

-Sterling

[1] http://office.microsoft.com/en-us/powerpoint-help/insert-pdf-file-content-into-a-powerpoint-presentation-HA102809687.aspx

···

On Apr 23, 2014, at 11:41AM, Jody Klymak wrote:

On Apr 23, 2014, at 8:35 AM, Chao YUE <chaoyuejoy@...287...> wrote:

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?

Why do you need to select a region? This takes a screen grab that will be terrible quality, doesn't it? Just drag the file into powerpoint (or use insert/picture). If you need to crop the PDF do that in Acrobat, or whatever PDF software you use.

Cheers, Jody