tell gnuplot that your standard font size is 7pt:
set term postscript size 3.3125,2.31875 enhanced font "Helvetica,7"
then the key spacing is calculated based on this font size and sample lines
and key text are at the same height. and, you don't need all these font
specifications like "Helvetica,7" or "{/Helvetica=7 ..."
Joel Finkeldei wrote:
>
> I am using gnuplot 4.2 patchlevel 5 and the postscript terminal.
>
> set term postscript size 3.3125,2.31875 enhanced
>
> set output "1319nm.comparison.ps"
> set xlabel "Exposure Duration (s)" font "Helvetica,7" offset 0,1.5
> set ylabel "Damage Threshold (W/cm^2)" font "Helvetica,7" offset 4.45,0
> set logscale
> set xrange [0.07:30]
> set yrange [0.1:1000]
> set bmargin 1.5
> set tmargin .5
> set lmargin 3.0
> set rmargin 3.0
> set size square
> set xtics font "Helvetica,6" offset 0,0.5
> set ytics font "Helvetica,6" offset 0.5,0
> set key spacing 0.5 samplen 2
>
>
> set border linewidth 0.5
>
> plot"model_4.30563mm" with lines lt 1 lc 0 lw 1 title "{/Helvetica=7
> 4.31mm Model}",\
> "model_6.7165mm" with lines lt 4 lc 0 lw 1 title "{/Helvetica=7 6.72mm
> Model}",\
> "experiment_4.30563mm" with points pt 7 ps 0.5 title "{/Helvetica=7 4.31mm
> Expt}",\
> "experiment_6.7165mm" with points pt 8 ps 0.5 title "{/Helvetica=7 6.72mm
> Expt}"
>
>
> Thomas Sefzick wrote:
>>
>> please provide a sample script together with information about
>> which version of gnuplot you are using and which terminal.
>>
>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Set-key-spacing-command-issues-tp27185635p27192079.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|