|
From: Jakob G. <ga...@il...> - 2012-02-17 08:09:40
|
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 |