【发布时间】:2020-05-28 15:23:03
【问题描述】:
在 gnuplotting 中,当我增加 ylabel 和 ytics 的字体大小时,它们开始重叠。我试图在它们之间创建边距,但找不到解决方案。非常感谢在这方面的帮助。
set autoscale
unset log
unset label
set xtic auto
set ytic auto
set tics font "Helvetica,18"
set key font "Helvetica,18"
set xlabel font "Helvetica,18"
set ylabel font "Helvetica,18"
set xlabel "Iteration Day"
set ylabel "Number of Persons"
set key inside
set key right
set key top
plot "SIR_I11_L2_T036.txt" using 1:2 title 'CurInf' with lines lt "5" lw "3", \
"SIR_I11_L2_T036.txt" using 1:3 title 'totInf' with lines lt "10" lw "3", \
"SIR_I11_L2_T036.txt" using 1:4 title 'Susceptible' with lines lt "15" lw "3", \
"SIR_I11_L2_T036.txt" using 1:5 title 'Exposed' with lines lt "20" lw "3", \
"SIR_I11_L2_T036.txt" using 1:7 title 'Recovered' with lines lt "25" lw "3"
【问题讨论】: