Re: [Matplotlib-users] SVG vs PNG

2007-05-15 Thread kc106_2005-matplotlib
and Word and you can even embed it as a Visio object. The quality is superb! Even the browser can read SVG file (somewhat - the quality isn't very good). > -Original Message- > From: Derek Hohls > Sent: Tuesday, May 15, 2007 12:19 AM > Subject: Re: [Matplotlib-

Re: [Matplotlib-users] SVG vs PNG

2007-05-14 Thread kc106_2005-matplotlib
Regards, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fernando Perez > Sent: Saturday, May 12, 2007 9:57 AM > To: Steve Schmerler > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] SVG vs PNG &

Re: [Matplotlib-users] SVG vs PNG

2007-05-12 Thread Fernando Perez
On 5/12/07, Steve Schmerler <[EMAIL PROTECTED]> wrote: > Fernando Perez wrote: > > > > Did you install pstoedit? If you do, you'll see that inkscape will > > then be able to load .eps/.ps files in a fully editable format. I've > > used it to fix decade-old plots for which the only thing around wa

Re: [Matplotlib-users] SVG vs PNG

2007-05-12 Thread Steve Schmerler
Fernando Perez wrote: > > Did you install pstoedit? If you do, you'll see that inkscape will > then be able to load .eps/.ps files in a fully editable format. I've > used it to fix decade-old plots for which the only thing around was > the eps file. > I tried to export an .svg from MPL (0.90.0

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Matt Newville
> All I want is to: a) Insert all of the plots I create with MPL onto a Word > document. If you're fortunate enough to be using the wx backend, there is a Copy_to_Clipboard() method which works great: In a wx App, Ctrl-C can easily be bound to copy the figure to the clipboard, then paste it int

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Fernando Perez
On 5/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Bingo! My prayer appears to have been answered. > > inkscape has no trouble reading the .svg files created by MPL, and Word has > no trouble reading the .eps files created by inkscape. So, at least I can > use it to preserve the vector

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
Actually, Gimp is the problem. It's obvious they don't have a very good rendering engine. The plots looks very good under Inkscape. > The quality of the svg plot depends in large plot on the svg renderer > -- perhaps word doesn't do a good job rendering SVG? The > matplotlib PNG files look

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
> > inkscape has no trouble reading the .svg files created by MPL, and > > Word has no trouble reading the .eps files created by inkscape. > > hmm. I wonder what it is about MPL's .eps files that Word > doesn't like. > > > Bug in MPL or Word?? Most likely Word. It's very picky. I have .eps

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Christopher Barker
> inkscape has no trouble reading the .svg files created by MPL, and > Word has no trouble reading the .eps files created by inkscape. hmm. I wonder what it is about MPL's .eps files that Word doesn't like. Bug in MPL or Word?? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Res

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
rom: David Huard [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 12:06 PM To: [EMAIL PROTECTED] Subject: Re: [Matplotlib-users] SVG vs PNG My advice would be to define the size you'll want the figure to be on paper once printed, and set the resolution to 300 dpi (for paper) or 1

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
to Windows but I am not complaining. Thanks, Fernando. > -Original Message- > From: Fernando Perez [mailto:[EMAIL PROTECTED] > Sent: Friday, May 11, 2007 11:05 AM > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] S

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread John Hunter
On 5/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > While the svg files are much smaller then the cooresponding png file (yes, and > scalable), I am surprised that the quality of the plot doesn't seem to be > that much > better (seem like about the same as compared to a corresponding png f

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Andy.Henshaw
[EMAIL PROTECTED] wrote >> >> On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: >> > All I want is to: a) Insert all of the plots I create with MPL onto >> > a Word document. >> >> This part should be achievable with PNG. >> Just set the figsize. >> I have not had problems... >> > >Corr

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
> > On Fri, 11 May 2007, [EMAIL PROTECTED] > apparently wrote: > > All I want is to: a) Insert all of the plots I create with > > MPL onto a Word document. > > This part should be achievable with PNG. > Just set the figsize. > I have not had problems... > Correct. I am doing that right now.

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Alan G Isaac
On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: > All I want is to: a) Insert all of the plots I create with > MPL onto a Word document. This part should be achievable with PNG. Just set the figsize. I have not had problems... > b) Be able to cut and paste part of a MPL figure and >

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
previously, the quality is not the greatest. I'll look up the cookbook you cited and try that. Thanks, > -Original Message- > From: Christopher Barker [mailto:[EMAIL PROTECTED] > Sent: Friday, May 11, 2007 11:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [Matplotl

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Fernando Perez
On 5/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks everybody for the explanation of svg in Gimp. That makes sense. Is > there any vector based program that does what Gimp does? Try inkscape. I've used it successfully for simple things, though I've never tried to handle a MPL SVG

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
Thanks everybody for the explanation of svg in Gimp. That makes sense. Is there any vector based program that does what Gimp does? > Did you try eps rather than ps? > > Eric Yes, I tried eps. Word won't recognize that neither. As to the EMF format, I downloaded the package and attempted t

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Jouni K . Seppänen
Zack <[EMAIL PROTECTED]> writes: >> When you open the svg in gimp, it is being rendered as pixels; [...] > > Right. SVG in Matplotlib is NOT vector format and it has no sense to > use it instead of PNG or any others. No, the svg produced by matplotlib is a vector format. (Just look at a matplotli

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Zack
Hi, On 11 May 2007, Eric Firing wrote: > When you open the svg in gimp, it is being rendered as pixels; from that > point on, it is the same as if you had made a png at the same > resolution, except that there are subtle differences in positioning and > probably antialiasing between externally re

Re: [Matplotlib-users] SVG vs PNG

2007-05-10 Thread Eric Firing
[EMAIL PROTECTED] wrote: > Hi, list: > > In my quest to create MPL plots for insertion into Word documents, I > tried post-script (doesn't work well - Word doesn't like the ps file > created by MPL), pdf (can't create more then 8 plots per job and can > not import into word), png (works but each p

Re: [Matplotlib-users] SVG vs PNG

2007-05-10 Thread Alan G Isaac
On Thu, 10 May 2007 15:51:09 -0700 (PDT) [EMAIL PROTECTED] apparently wrote: > png (works but each plot needs to be magified manually > before saving) Use the figsize argument. Cheers, Alan Isaac - This SF.net email is

[Matplotlib-users] SVG vs PNG

2007-05-10 Thread kc106_2005-matplotlib
Hi, list: In my quest to create MPL plots for insertion into Word documents, I tried post-script (doesn't work well - Word doesn't like the ps file created by MPL), pdf (can't create more then 8 plots per job and can not import into word), png (works but each plot needs to be magified manually