我有一段 gnuplot 生成 gif 文件的代码:
set terminal pngcairo font 'DroidSerif'
set output "summary2.gif"
set xtics font ", 15"
set ytics font ", 15"
set key font ",18"
set key top right
set xlabel "Data width in bytes" font ",20"
set ylabel "Summary size" font ",20"
set title "Size comparison" font ",25"
plot "summary2.data" using 1:4 title "BF Complete" w lp, "summary2.data" using 1:3 title "Labeled" w lp, "summary2.data" using 1:5 title "Complete" w lp, "summary2.data" using 1:2 title "BF" w lap
问题在于图表标题太大了,所以需要在它们之间添加一些间距。我该如何使其正常工作?
set terminal pngcairo font 'DroidSerif,15'
。无论如何,你都需要进行一些调整,但可能会少一些。 - Christoph