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 png size 1600,900 font Helvetica 16 set output '/home/users/khuck/src/espm2022/output/openmp/concurrency.png' everyNth(col) = (int(column(col))%312==0)?stringcolumn(1):"" set key outside bottom center invert box set xtics auto nomirror set ytics 4 nomirror set y2tics auto nomirror set xrange[0:3122] set yrange[0:96] set y2range[0:16389] 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 #set palette rgb 33,13,10 unset colorbox set key noenhanced plot for [COL=4:14] '/home/users/khuck/src/espm2022/output/openmp/concurrency.0.dat' using COL:xticlabel(everyNth(1)) palette frac (COL-3)/11. title columnheader axes x1y1, '/home/users/khuck/src/espm2022/output/openmp/concurrency.0.dat' using 2 with lines linecolor rgb "red" axes x1y1 title columnheader, '/home/users/khuck/src/espm2022/output/openmp/concurrency.0.dat' using 3 with lines linecolor rgb "black" axes x1y2 title columnheader