|
From: <pl...@pi...> - 2012-10-12 06:24:26
|
On 10/12/12 01:43, Allin Cottrell wrote: > On Thu, 11 Oct 2012, Ethan A Merritt wrote: > >> On Thursday, October 11, 2012 04:13:55 pm Ethan A Merritt wrote: >>> On Thursday, October 11, 2012 12:42:22 pm Allin Cottrell wrote: >>>> 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 >>>> The nice thing about SVG is the ability to zoom in to get more detail. Doing this on Allin's example , comparing Firefox to Opera on linux, the U of UNEMP is basically outside the plot with the second upright on the y-axis. With Opera is it perfectly coincident this the y axis, on FF it is just inside the graph with a very fine amount of white separating it from the axis. A more exacting test case could provide some useful metrics on the problem. Peter. |