Re: [Matplotlib-users] Fwd: best format for MS word?

2009-09-03 Thread Nicolas Bigaouette
I'm sure everybody find this really sad... If he wants control over the
ploting capabilities, then why not have matplotlib and send him the script?I
know when I switched to matplotlib from matlab I wanted to be able to edit
directly the graph with point and click, but sometimes it is more powerful
or even easier to edit the script.

If the changes are really small, you could always send him an SVG that he
edits in Inkscape. I do that sometimes.

There might be other open source plotting packages which are WYSIWYG, like
qtiplot. Please, please! don't go with excel ;) Its quality is so much lower
then any other software.


2009/9/3 Shixin Zeng zeng.shi...@gmail.com

 Forgot CC list.

 Thanks for your helps.

 Best Regards

 Shixin Zeng




 -- Forwarded message --
 From: Shixin Zeng zeng.shi...@gmail.com
 Date: Wed, Sep 2, 2009 at 11:02 PM
 Subject: Re: [Matplotlib-users] best format for MS word?
 To: Stan West stan.w...@nrl.navy.mil


 On Wed, Sep 2, 2009 at 8:59 PM, Stan Weststan.w...@nrl.navy.mil wrote:
  -Original Message-
  From: Shixin Zeng [mailto:zeng.shi...@gmail.com]
  Sent: Wednesday, September 02, 2009 16:11
 
  While for embeding eps files in word, I've just tried that. MS word
  2007 seems to have some problem on this. See the attached eps
  file produced from matplotlib. In MS word 2007, the labels
  and titles of axes are gone, even on the printed version of
  the word file. It's there when I view/print it with gsview.
 
  I don't have Word 2007, but I imported your file into Word 2003 and saw
 that
  the titles and labels were missing.  I would blame that on shortcomings
 of the
  Word PS engine.  When I printed to a non-PostScript printer, the titles
 and
  labels were missing as in your test; that doesn't surprise me, because
 the
  Word PS engine would be used to render for a non-PS printer.  However,
 when I
  printed to PostScript devices (the Adobe PDF driver and the PDFCreator
  driver), the titles and text were present; Word shouldn't invoke its PS
 engine
  when the printer understands PS.  Is there any chance that you were using
 a
  non-PS printer, or that your printer has two or more modes (like the
  Hewlett-Packard models that automatically switch between PCL and PS) and
 you
  were not using a PS driver?  How about testing with PDFCreator?
 
 
 I'm not sure if my printer supports PS or not, it's Dell Laser 1320c,
 I couldn't find any information from its property page.

 I'm afraid that I'm giving up matplotlib for my paper plotting, since
 my professor wants me to do plotting with excel such that he doesn't
 have to ask me to do every small change on the plot if he could do it
 himself.


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Fwd: best format for MS word?

2009-09-03 Thread Shixin Zeng
Yes, Me feel sad as well. But I don't think he wants to learn python
and then matplotlib. He is not a computer professor after all.

Best Regards

Shixin Zeng



On Thu, Sep 3, 2009 at 8:54 AM, Nicolas Bigaouettenbigaoue...@gmail.com wrote:
 I'm sure everybody find this really sad... If he wants control over the
 ploting capabilities, then why not have matplotlib and send him the script?
 I know when I switched to matplotlib from matlab I wanted to be able to edit
 directly the graph with point and click, but sometimes it is more powerful
 or even easier to edit the script.

 If the changes are really small, you could always send him an SVG that he
 edits in Inkscape. I do that sometimes.
 There might be other open source plotting packages which are WYSIWYG, like
 qtiplot. Please, please! don't go with excel ;) Its quality is so much lower
 then any other software.

 2009/9/3 Shixin Zeng zeng.shi...@gmail.com

 Forgot CC list.

 Thanks for your helps.

 Best Regards

 Shixin Zeng




 -- Forwarded message --
 From: Shixin Zeng zeng.shi...@gmail.com
 Date: Wed, Sep 2, 2009 at 11:02 PM
 Subject: Re: [Matplotlib-users] best format for MS word?
 To: Stan West stan.w...@nrl.navy.mil


 On Wed, Sep 2, 2009 at 8:59 PM, Stan Weststan.w...@nrl.navy.mil wrote:
  -Original Message-
  From: Shixin Zeng [mailto:zeng.shi...@gmail.com]
  Sent: Wednesday, September 02, 2009 16:11
 
  While for embeding eps files in word, I've just tried that. MS word
  2007 seems to have some problem on this. See the attached eps
  file produced from matplotlib. In MS word 2007, the labels
  and titles of axes are gone, even on the printed version of
  the word file. It's there when I view/print it with gsview.
 
  I don't have Word 2007, but I imported your file into Word 2003 and saw
  that
  the titles and labels were missing.  I would blame that on shortcomings
  of the
  Word PS engine.  When I printed to a non-PostScript printer, the titles
  and
  labels were missing as in your test; that doesn't surprise me, because
  the
  Word PS engine would be used to render for a non-PS printer.  However,
  when I
  printed to PostScript devices (the Adobe PDF driver and the PDFCreator
  driver), the titles and text were present; Word shouldn't invoke its PS
  engine
  when the printer understands PS.  Is there any chance that you were
  using a
  non-PS printer, or that your printer has two or more modes (like the
  Hewlett-Packard models that automatically switch between PCL and PS) and
  you
  were not using a PS driver?  How about testing with PDFCreator?
 
 
 I'm not sure if my printer supports PS or not, it's Dell Laser 1320c,
 I couldn't find any information from its property page.

 I'm afraid that I'm giving up matplotlib for my paper plotting, since
 my professor wants me to do plotting with excel such that he doesn't
 have to ask me to do every small change on the plot if he could do it
 himself.


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Fwd: best format for MS word?

2009-09-02 Thread Scott Sinclair
Forgot to copy the list.


-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 2009/9/2
Subject: Re: [Matplotlib-users] best format for MS word?
To: Shixin Zeng zeng.shi...@gmail.com


 2009/9/2 Shixin Zeng zeng.shi...@gmail.com:
 Yes, the DPI i'm using is 300, and I tried to change it to 600, or
 1200, but I can't see much difference.

Word seems to make PNG's very fuzzy when it needs to rescale them. Two
options I can think of are:

1. Try to size the figure so that Word imports it at 100% without
scaling (play with the following)

 import matplotlib.pyplot as plt
 fig = plt.figure()
 ax = fig.add_subplot(111)
 ax.plot([1,2,3])
 fig.set_size_inches((4, 3))
 plt.savefig('figure.png', dpi=600)

2. Save your figures as PDF's and view at large magnification in Adobe
Reader, then use the image select? tool to copy the image to your
clipboard. In Word Edit-Paste-Special as an enhanced metafile.

Cheers,
Scott

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Fwd: best format for MS word?

2009-09-02 Thread Shixin Zeng
Forgot CC list.

Thanks for your helps.

Best Regards

Shixin Zeng




-- Forwarded message --
From: Shixin Zeng zeng.shi...@gmail.com
Date: Wed, Sep 2, 2009 at 11:02 PM
Subject: Re: [Matplotlib-users] best format for MS word?
To: Stan West stan.w...@nrl.navy.mil


On Wed, Sep 2, 2009 at 8:59 PM, Stan Weststan.w...@nrl.navy.mil wrote:
 -Original Message-
 From: Shixin Zeng [mailto:zeng.shi...@gmail.com]
 Sent: Wednesday, September 02, 2009 16:11

 While for embeding eps files in word, I've just tried that. MS word
 2007 seems to have some problem on this. See the attached eps
 file produced from matplotlib. In MS word 2007, the labels
 and titles of axes are gone, even on the printed version of
 the word file. It's there when I view/print it with gsview.

 I don't have Word 2007, but I imported your file into Word 2003 and saw that
 the titles and labels were missing.  I would blame that on shortcomings of the
 Word PS engine.  When I printed to a non-PostScript printer, the titles and
 labels were missing as in your test; that doesn't surprise me, because the
 Word PS engine would be used to render for a non-PS printer.  However, when I
 printed to PostScript devices (the Adobe PDF driver and the PDFCreator
 driver), the titles and text were present; Word shouldn't invoke its PS engine
 when the printer understands PS.  Is there any chance that you were using a
 non-PS printer, or that your printer has two or more modes (like the
 Hewlett-Packard models that automatically switch between PCL and PS) and you
 were not using a PS driver?  How about testing with PDFCreator?


I'm not sure if my printer supports PS or not, it's Dell Laser 1320c,
I couldn't find any information from its property page.

I'm afraid that I'm giving up matplotlib for my paper plotting, since
my professor wants me to do plotting with excel such that he doesn't
have to ask me to do every small change on the plot if he could do it
himself.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users