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

2009-09-02 Thread Stan West
> -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

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

2009-09-02 Thread Alan G Isaac
On 9/2/2009 4:11 PM Shixin Zeng apparently wrote: > 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 ver

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

2009-09-02 Thread Marius 't Hart
Can't word handle eps files? In the WYSIWYG it will show the embedded preview as far as I recall, so the image will seem empty if their is no preview embedded or blurry if the preview is blurry. For printing however (including to pdf) it uses the vector version. Of course, eps can't handle tran

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

2009-09-02 Thread Stan West
> On Wed, Sep 2, 2009 at 11:43 AM, Christopher Barker wrote: > > MS simply doesn't lay well with open vector formats, I think PNG with > > the right DPI, etc is still probably your best bet. > > > Yes, I think I have to stick to this option I agree; in my experience, a bitmap such as PNG at about

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

2009-09-02 Thread Shixin Zeng
No, it doesn't work for me. Either it can't convert, or the quality is pretty low, there are some black blocks in the converted plot. Best Regards Shixin Zeng On Wed, Sep 2, 2009 at 8:30 AM, Gary Ruben wrote: > I haven't tried it myself, but this converter may do the trick. If it works, > can

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

2009-09-02 Thread Shixin Zeng
On Wed, Sep 2, 2009 at 11:43 AM, Christopher Barker wrote: > MS simply doesn't lay well with open vector formats, I think PNG with > the right DPI, etc is still probably your best bet. > Yes, I think I have to stick to this option > Shixin Zeng wrote: >> I'm attaching a file that converts svg to e

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

2009-09-02 Thread Shixin Zeng
No, I'm not scaling it down actually, I use the exact size matplotlib produces. So this is not a problem about scaling. Best Regards Shixin Zeng On Wed, Sep 2, 2009 at 11:35 AM, Chip Webber wrote: > If Word has problems scaling down the png image for viewing maybe you could > try writing the i

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

2009-09-02 Thread Christopher Barker
MS simply doesn't lay well with open vector formats, I think PNG with the right DPI, etc is still probably your best bet. Shixin Zeng wrote: > I'm attaching a file that converts svg to emf, which is based on > librsvg and cairo. > I've spent the all night working on this, but the result is still

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

2009-09-02 Thread Gary Ruben
I haven't tried it myself, but this converter may do the trick. If it works, can you report back? I'd be interested to know: Gary R. Shixin Zeng wrote: > Hi, > > Could someone tell me what's the best format that matplotlib c

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

2009-09-02 Thread Sebastian PajÄ…k
I had similar problem try hi-res png images at 300dpi w/o transparency (ms cannot handle transp. png correctly). ms word shows png little blury, but after printing (to PDF for example) images are sharp as knife 2009/9/2 Shixin Zeng : > OK, > > I'm attaching a file that converts svg to emf, which

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

2009-09-01 Thread Shixin Zeng
OK, I'm attaching a file that converts svg to emf, which is based on librsvg and cairo. I've spent the all night working on this, but the result is still not satisfying. The converted emf file is even worse than the png file produced from matplotlib. I'm not sure if it's because I did something w

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

2009-09-01 Thread Shixin Zeng
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. Best Regards Shixin Zeng On Tue, Sep 1, 2009 at 9:28 PM, Eric Firing wrote: > Shixin Zeng wrote: >> >> Hi, >> >> Could someone tell me what's the best format that matplotlib can >> produce

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

2009-09-01 Thread Eric Firing
Shixin Zeng wrote: > Hi, > > Could someone tell me what's the best format that matplotlib can > produce for insertion to MS word? I'm working on a paper using MS > word. I used matplotlib to produce the pictures in "png' format, but > my professor doesn't satisfy with the quality of the pictures,

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

2009-09-01 Thread Shixin Zeng
Yes, with large pictures, PNG is good enough, but when scaling down, it looks a bit fuzzy. Best Regards Shixin Zeng On Tue, Sep 1, 2009 at 8:05 PM, Alan G Isaac wrote: > On 9/1/2009 8:22 PM Shixin Zeng apparently wrote: >> Yes, I tried OOo. But its pdf/ps/svg importer is not good enough > > >

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

2009-09-01 Thread Shixin Zeng
How do I utilize pyEmf? AFAIK, it's used by the old emf backend in matplotlib, which is not maintained or functional any more. Best Regards Shixin Zeng On Tue, Sep 1, 2009 at 8:14 PM, Andrew Straw wrote: > Shixin Zeng wrote: >> Hi, >> >> Could someone tell me what's the best format that matplo

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

2009-09-01 Thread Andrew Straw
Shixin Zeng wrote: > Hi, > > Could someone tell me what's the best format that matplotlib can > produce for insertion to MS word? You can try PyEMF. I don't know its status -- it might need some TLC. http://pyemf.sourceforge.net/ --

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

2009-09-01 Thread Alan G Isaac
On 9/1/2009 8:22 PM Shixin Zeng apparently wrote: > Yes, I tried OOo. But its pdf/ps/svg importer is not good enough I'm afraid that for EPS you will not do better by moving to a MS product. At least my luck has been bad. Otoh, I have had pretty good luck with PNG. Alan Isaac PS http://wiki.s

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

2009-09-01 Thread Shixin Zeng
Yes, I tried OOo. But its pdf/ps/svg importer is not good enough, it kinda screwed up my pictures, so ... Best Regards Shixin Zeng On Tue, Sep 1, 2009 at 6:50 PM, wrote: > Shixin Zeng wrote: >> >> Hi, >> >> Could someone tell me what's the best format that matplotlib can >> produce for insert

[Matplotlib-users] best format for MS word?

2009-09-01 Thread Shixin Zeng
Hi, Could someone tell me what's the best format that matplotlib can produce for insertion to MS word? I'm working on a paper using MS word. I used matplotlib to produce the pictures in "png' format, but my professor doesn't satisfy with the quality of the pictures, he asks me to do it in "emf" fo