From: Junghun S. <nut...@li...> - 2012-04-02 08:25:11
|
Hi. I wrote this script and found that the key bar is aligned to the bottom of letters in the key box. Please find the figure uploaded to my Skydrive here: http://tinyurl.com/7dlhtns What do I do to make the key bar aligned to the center of letters? I'm using gnuplot 4.6 patchlevel 0 under Windows 7 x64. Same thing happens for 4.5 patchlevel 0. As far as I looked up the gnuplot-info forum, this one has not been discussed. [CODE] reset set encoding utf8 set term png enhanced \ font "arial, 60" \ truecolor \ dashlength 10 linewidth 10 \ round \ size 3.2*600, 1.98*600 set output "keyLabelTest.png" set linestyle 1 lc rgb "#708090" lw 0.2 lt 1 #Slate Gray set linestyle 10 lc rgb "#000000" lw 0.5 lt 1 #black tm = 0.9 bm = 0.25 lm = 0.25 rm = 0.9 set tmargin at screen tm set bmargin at screen bm set lmargin at screen lm set rmargin at screen rm set tics scale 2 set xrange [pi:2*pi] set yrange [-1:1] set xlabel "x" font "ariali" set ylabel "y" font "ariali" set format x "%.1P{/times π}" set xtic 0.5*pi font "arial" set ytic 0.5 set key \ font "arial, 50" \ height 1 \ spacing 1.25 \ reverse Left left #height: Lower the keybox slightly set sample 1000 plot sin(x) w l ls 1 t "Sin(x)",\ cos(x) w l ls 10 t "Cos(x)" [/CODE] Thank you, Junghun Shin |