Hi Edin, > Hmm. I'm not sure whether this is a problem with matplotlib or > inkscape. I had some weird problems with inkscape on Ubuntu Feisty > recently, like: when I open the file from Nautilus (right click->open > with Inkscape) it is completely turned around; when I open Inkscape > (blank file), and open the file from within inkscape everything is > displayed correctly. > > Have you opened the file in other viewers? > Good point. I tried just now on Firefox and got the same error. For an image of what I mean see this http://python-pieces.blogspot.com/2007/07/latex-and-svg-export.html
I'm attaching the svg output here in case someone wants to try it out: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!-- Created with matplotlib (http://matplotlib.sourceforge.net/) --> <svg width="586" height="442" viewBox="0 0 586 442" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="svg1"> <g id="figure1"> <polygon style="fill: #ffffff; stroke: #ffffff; stroke-width: 1.000000; stroke-linejoin: miter; stroke-linecap: square; opacity: 1.000000" points = "0.000000,442.800000 0.000000,0.000000 586.800000,0.000000 586.800000,442.800000"/> <g id="axes1"> <g id="mathtext1"> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="88.182031" y="358.020000" >1</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="78.859766" y="358.020000" >=</text> <text style="font-size: 12.000000; font-family: cmmi10; fill: #000000;" x="71.658594" y="358.020000" >n</text> <text style="font-size: 8.400000; font-family: cmmi10; fill: #000000;" x="127.162500" y="370.020000" >i</text> <text style="font-size: 12.000000; font-family: cmmi10; fill: #000000;" x="139.373148" y="373.020000" >±</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="130.050882" y="373.020000" >+</text> <text style="font-size: 12.000000; font-family: cmmi10; fill: #000000;" x="122.115625" y="373.020000" >q</text> <text style="font-size: 12.000000; font-family: cmsy10; fill: #000000;" x="116.115625" y="373.020000" >¤</text> <text style="font-size: 8.400000; font-family: cmr10; fill: #000000;" x="111.920313" y="379.020000" >5</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="105.998438" y="373.020000" >9</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="99.998438" y="373.020000" >9</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="90.676172" y="373.020000" >=</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="85.935938" y="388.020000" >0</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="79.935938" y="388.020000" >0</text> <text style="font-size: 12.000000; font-family: cmr10; fill: #000000;" x="73.935938" y="388.020000" >1</text> <text style="font-size: 12.000000; font-family: cmex10; fill: #000000;" x="73.350000" y="386.020000" >X</text> </g> </g> </g> </svg> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users