# palette set palette maxcolors 16 set palette defined ( 0 '#E41A1C', 1 '#377EB8', 2 '#4DAF4A', 3 '#984EA3', 4 '#FF7F00', 5 '#FFFF33', 6 '#A65628', 7 '#F781BF', 8 '#66C2A5', 9 '#FC8D62', 10 '#8DA0CB', 11 '#E78AC3', 12 '#A6D854', 13 '#FFD92F', 14 '#E5C494', 15 '#B3B3B3' ) set terminal postscript eps size 16,9 enhanced color font 'Helvetica,32' set output 'concurrency.eps' everyhundredth(col) = (int(column(col))%1000==0)?stringcolumn(1):"" set key outside bottom center invert box set xtics auto nomirror set ytics auto nomirror set y2tics auto nomirror # Set the y ranges explicitly, so we can see the lines. stats 'concurrency.all.dat' using 15 name "A" stats 'concurrency.all.dat' using 3 name "B" #set yrange[0:A_max] set yrange[0:48] #set y2range[0:(B_max*1.1)] set y2range[0:250] set xlabel "Time" set ylabel "Concurrency" set y2label "Power" # Select histogram data set style data histogram # Give the bars a plain fill pattern, and draw a solid line around them. set style fill solid border set style histogram rowstacked set boxwidth 1.0 relative unset colorbox set key noenhanced plot for [COL=4:14] 'concurrency.all.dat' using COL:xticlabel(everyhundredth(1)) palette frac (COL-4)/11. title columnheader axes x1y1, 'concurrency.all.dat' using 3 with lines dashtype 2 linecolor rgb "black" linewidth 2 axes x1y2 title columnheader