This is simply too good to be true.  I played with manupulating MPL plots using 
Inkscape and man, somebody ought to include this in the MPL FAQ.   I can move 
everything around by elements, touch-up or remove things I don't want, scale 
it, rotate it, you name it.

And then I can save the file in .eps and include into Office - and I don't 
loose any quality.

Perfect!

Here's what I learned:

a) Create the plot under MPL, saving the file in .svg format, and use the 
figsize argument to figure to create a plot of the proper size

b) Use Inkscape to open the .svg file and manupulate it.  Save in .eps format.

c) Import the .eps file into Office.

d) Be happy and become famous and rich.   (not)

Thanks again for all of the suggestions and tips.

Regards,

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Friday, May 11, 2007 12:23 PM
> To: matplotlib-users@lists.sourceforge.net
> Subject: Re: [Matplotlib-users] SVG vs PNG
> 
> 
> 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 
> vectors.  Too bad inkscape doesn't read .eps directly 
> (complaining...complaining....)   :=)
> 
> inkscape treats everything as objects and allows you to 
> ungroup the plots into elements and then you can play with 
> each of the elements individually.   When I am done, I can 
> then insert into Word.   Too bad it doesn't allow me to paste 
> the objects directly over 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] SVG vs PNG
> > 
> > 
> > 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 file with it.
> > 
> > cheers,
> > 
> > f
> > 
>  
> --
> John Henry
> 
 
--
John Henry



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to