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 as SVG and do
the compositing stuff in Inkscape.
The placing of the image is straight forward and fine documented (with
additional axes and imshow), so it is just a problem of importing a eps
vector image.
I would be very grateful if someone could help me with this issue.
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 plot personally, so no promises...)
Cheers,
Mike
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 option so I cannot just save as SVG and do
the compositing stuff in Inkscape.
The placing of the image is straight forward and fine documented (with
additional axes and imshow), so it is just a problem of importing a eps
vector image.
I would be very grateful if someone could help me with this issue.
Thanks!
Jakob
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
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.
On Tue, Sep 1, 2009 at 11:09 AM, jakobg<jakobgager@...32...> 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 option so I cannot just save as SVG and do
the compositing stuff in Inkscape.
The placing of the image is straight forward and fine documented (with
additional axes and imshow), so it is just a problem of importing a eps
vector image.
I would be very grateful if someone could help me with this issue.
------------------------------------------------------------------------------
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 matplotlib-users List Signup and Options
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 as SVG and do
the compositing stuff in Inkscape.
The placing of the image is straight forward and fine documented (with
additional axes and imshow), so it is just a problem of importing a eps
vector image.
I would be very grateful if someone could help me with this issue.
It you could save from inkscape as .svg instead of .eps, you might be
able to modify Jae-Joon's trick to directly include this svg into a
matplotlib-generated svg file. See