|
From: Allin C. <cot...@wf...> - 2012-10-11 20:08:58
|
I'm comparing the output of gnuplot's svg and pngcairo drivers, with a thought of making greater use of SVG. But there seems to be a slight problem with the placement of key text in the SVG output. Here's a little test script set term svg font "Sans,8" size 680,400 set output 'test.svg' set key left top plot sin(x) title "PRIME" w l, \ cos(x) title "UNEMP" w l set term pngcairo font "Sans,8" size 680,400 set output 'test.png' replot In the PNG version the key is just fine, but in SVG the "U" of "UNEMP" gets tangled up with the y-axis (more or less, depending on the magnification). I'm looking at the SVG using librsvg, and also via the Adobe NPSVG3 library. To show what I'm talking about, I'm attaching the SVG output as converted to PNG by rsvg-convert (at 96dpi). -- Allin Cottrell Department of Economics Wake Forest University, NC |