3
votes

I have a gnuplot gif file generation code:

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

The issue is that the plot titles are large so I need to add some spacing between them. How can I make it work?

enter image description here

1
Probably you should also change the global font size, because that determines the line spacing and some other positions given in character units. set terminal pngcairo font 'DroidSerif,15'. You'll anyway need to make some adjustments, but maybe less. - Christoph

1 Answers

4
votes

Try set key spacing <some number>. Increasing the value of <some number> should increase the distance between titles.