Hi all,

I had the same problem and I implemented a small library for manipulating SVG 
figures (for example, matplotlib-generated). It is on github:

https://github.com/btel/svg_utils

There is also a related blog post:

http://neuroscience.telenczuk.pl/?p=331

The library does NOT allow to import svg figures into matplotlib, but it allows 
to combine a mpl figure exported to SVG and and a external SVG file.

I hope it helps!

Cheers,

Bartosz


On 16.02.2012, at 20:43, 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
> -- 
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> 
> ------------------------------------------------------------------------------
> 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

Bartosz Telenczuk

Institute for Theoretical Biology
Humboldt University of Berlin, Germany
Phone: +4930/2093-8838
Homepage: http://neuroscience.telenczuk.pl


------------------------------------------------------------------------------
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