Re: [Matplotlib-users] Placing vector eps graphics

2009-09-01 Thread jakobg
Thanks all for the fast reply. The tip with PyX is working fine! So its very easy to combine different eps files! If someone is interested, try something like: from pyx import * c = canvas.canvas() c.insert(epsfile.epsfile(0, 0, "1.eps")) c.insert(epsfile.epsfile(0.5,0.2,"2.eps",scale=0.5)) c.

Re: [Matplotlib-users] Placing vector eps graphics

2009-09-01 Thread Andrew Straw
jakobg wrote: > Hi there, > > I want to place an eps graphic I created in Inkscape in a plot. The final > image is supposed to be a vector eps as well. I looked up the forum but just > found the option with the Image (PIL) library which obviously rasterizes my > vector image. And I use the Tex opti

Re: [Matplotlib-users] Placing vector eps graphics

2009-09-01 Thread Jae-Joon Lee
You may use PyX for compositing two eps images. It is not a gui application like inkscape. But it is one of the best option I know for eps compositing. http://pyx.sourceforge.net/manual/epsfile.html Regards, -JJ On Tue, Sep 1, 2009 at 11:09 AM, jakobg wrote: > > Hi there, > > I want to place a

Re: [Matplotlib-users] Placing vector eps graphics

2009-09-01 Thread Michael Droettboom
Unfortunately, matplotlib doesn't support importing vector images of any sort. Your best bet is to, as you suggest, do the compositing in an external tool, such as Inkscape. Version 0.46 and later claim to support PDF import, you could try that. (Though I haven't tried it with a matplotlib p

[Matplotlib-users] Placing vector eps graphics

2009-09-01 Thread jakobg
Hi there, I want to place an eps graphic I created in Inkscape in a plot. The final image is supposed to be a vector eps as well. I looked up the forum but just found the option with the Image (PIL) library which obviously rasterizes my vector image. And I use the Tex option so I cannot just save