Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set spacing between plot titles in gnuplot

Tags:

offset

gnuplot

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

like image 787
prosseek Avatar asked Oct 25 '25 10:10

prosseek


1 Answers

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

like image 88
Miguel Avatar answered Oct 27 '25 01:10

Miguel