On Apr 23, 2014, at  8:35 AM, Chao YUE <chaoyue...@gmail.com> 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



> 
> 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.r...@ou.edu> 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
> 
> 
> On Mon, Apr 21, 2014 at 5:03 PM, Chao YUE <chaoyue...@gmail.com> 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
> 
> 
> On Mon, Apr 21, 2014 at 10:59 PM, Jody Klymak <jkly...@uvic.ca> wrote:
> Did you set the dpi of the png?
> 
> Cheers,  Jody
> 
> 
> On Apr 21, 2014, at  13:50 PM, ChaoYue <chaoyue...@gmail.com> 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 :p
>> 
>> 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
>> 
>> 
>> 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
>> 
>> 
>> On Mon, Apr 21, 2014 at 4:41 PM, Jonathan Slavin [via matplotlib] <[hidden 
>> email]> wrote:
>> ​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="<a 
>> href="tel:%2B16174967981" value="+16174967981" target="_blank">+16174967981" 
>> target="_blank">(617) 496-7981       Cambridge, MA 02138-1516
>> fax: <a href="tel:%28617%29%20496-7577" value="<a href="tel:%2B16174967577" 
>> value="+16174967577" target="_blank">+16174967577" target="_blank">(617) 
>> 496-7577            USA
>> ________________________________________________________
>> 
>> 
>> ------------------------------------------------------------------------------
>>  
>> 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
>> 
>> 
>> 
>> -- 
>> 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
>> ************************************************************************************
>> 
>> 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
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>>  
>> 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
>> 
>> 
>> 
>> -- 
>> 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
>> ************************************************************************************
>> 
>> 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
> ************************************************************************************
> 
> ------------------------------------------------------------------------------
> 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
> ************************************************************************************

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

Reply via email to