Hi,

if the import filetype is not restricted to svg, you can use PyX to 
place vector eps figures into other eps figures. I used this in a two 
step approach (first create the plot with matplotlib and store is as eps 
and second, use PyX to combine the plot with a vector figure) in a 
single script.

This usually worked fine and the resulting file is still completely 
vectorized!

br
Jakob

On 02/16/2012 08:43 PM, William Hoburg wrote:
> Hi everybody,
> Is there a way to import a svg-image into a plot?
> I know that there are some possibilities to import png 
> (http://matplotlib.sourceforge.net/examples/pylab_examples/demo_annotation_box.html)
>  or eps (which is then rastered).
> But till now I didn't find any way to import/embed a real vector graphic 
> which is still a vector when I save the figure again as pdf or svg.
> Thanks in advance,
> HoWil


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to