在gnuplot中,图例的字母和线条未对齐
我是gnuplot的新手。 图例的字母和线条在我的gnuplot输出图中未对齐 我使用了下面的代码在gnuplot中,图例的字母和线条未对齐,gnuplot,Gnuplot,我是gnuplot的新手。 图例的字母和线条在我的gnuplot输出图中未对齐 我使用了下面的代码 gnuplot -persist <<EOF set size ratio 3/4 set tics font "Arial, 15" set xrange [494:506] set yrange [0:1] set xlabel 'wavelenth [nm]' font "Arial, 20" set ylabel 'probability' font "Arial, 2
gnuplot -persist <<EOF
set size ratio 3/4
set tics font "Arial, 15"
set xrange [494:506]
set yrange [0:1]
set xlabel 'wavelenth [nm]' font "Arial, 20"
set ylabel 'probability' font "Arial, 20" offset -2,0
set lmargin 10
set bmargin 6
set rmargin 25
set key font "Arial, 15" outside spacing 1.5
plot 'result.out' using 1:2 with lines title "transmittance"
replot 'result.out' using 1:3 with lines title "reflectance" lc rgb "dark- green"
replot 'result.out' using 1:4 with lines title "absorbance"
set terminal png
set output 'out.png'
replot
EOF
gnuplot-persist如果您是指垂直对齐,可以使用set terminal pngcairo
而不是set terminal png
水平对齐可以在图例选项中更改,例如,set key font“Arial,15”外部间距为1.5左
如果您指的是垂直对齐,可以使用设置端子pngcairo
而不是设置端子png
水平对齐可以在图例选项中更改,例如,set key font“Arial,15”外部间距为1.5左
相关:相关:个人体验:除了这里描述的问题外,我总是使用pngcairo
而不是png
终端进行更好的渲染。个人体验:除了这里描述的问题外,我总是使用pngcairo
而不是png
终端进行更好的渲染。