|
From: Murray C. <mu...@mu...> - 2009-11-19 09:46:33
|
I'm using gnuplot with "histogram rowstacked" to plot many columns from a data file. The column titles are quite long too. But the key (legend) is then too big for the page, and even pushes the graph off the page when I place the key outside the graph. Is there any generic way to just get everything to scale down enough to fit on the page? I'm outputing to .ps, so I don't mind if people have to zoom in to actually read things. Here's my whole set of commands. set terminal postscript enhanced color set output 'massif_pretty.ps' set datafile separator '\t' set key autotitle columnheader set style data histogram set style histogram rowstacked set style fill solid border -1 set xlabel 'Instructions (millions)' set ylabel 'Kilobytes (KiB)' set key outside bottom reverse set xtics nomirror rotate by 90 set format x "%.0f" set ytics nomirror set format y "%.0fk" plot 'gnuplot.data' using using=2:xtic(1), '' using 2, '' using 3, '' using 4, '' using 5, '' using 6, '' using 7, '' using 8, '' using 9, '' using 10, '' using 11, '' using 12, '' using 13, '' using 14, '' using 15, '' using 16, '' using 17, '' using 18, '' using 19, '' using 20, '' using 21, '' using 22, '' using 23, '' using 24, '' using 25, '' using 26, '' using 27, '' using 28, '' using 29, '' using 30, '' using 31, '' using 32, '' using 33, '' using 34, '' using 35, '' using 36, '' using 37, '' using 38, '' using 39, '' using 40, '' using 41, '' using 42, '' using 43, '' using 44, '' using 45, '' using 46, '' using 47, '' using 48, '' using 49, '' using 50, '' using 51, '' using 52, '' using 53, '' using 54, '' using 55, '' using 56, '' using 57, '' using 58, '' using 59 -- mu...@mu... www.murrayc.com www.openismus.com |