gnuplot - How to place keys (legends) horizontally in groups -


how place keys (legends) of data series horizontally in groups in gnuplot?

here example worked out using ms paint:

enter image description here

you can set maximum number of rows in key

set key left maxrows 4 

then must distribute empty lines in key showed in answer gnuplot: vertical space between series titles. in case convenient define macro empty line:

set xrange [0:4] set key left maxrows 4  set macros dummy="nan title ' ' lt -3"  plot x, 2*x, @dummy, @dummy,\      3*x, 4*x, @dummy, @dummy,\      5*x, 6*x, @dummy, @dummy,\      7*x, 8*x, 9*x, 10*x 

enter image description here


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -