histogram.gnuplot (1292B)
1 #!/usr/bin/gnuplot -d 2 3 set terminal svg size 1920/6,1080/6 dynamic round font 'Times, 10' lw 0.5 4 set key Left reverse outside 5 set key autotitle columnheader 6 set ylabel 'Time, ms' offset 2,0 7 set xtics rotate by -45 8 set ytics 0,20 9 10 load 'gnuplot/style.gnuplot' 11 12 set style histogram rowstacked title 13 set style data histograms 14 set style fill solid border -1 15 set boxwidth 0.75 16 set output 'build/histogram.svg' 17 plot \ 18 newhistogram "Storm", \ 19 'build/sphere.storm.histogram.dat' \ 20 using 'waves':xtic(1) ls 1, \ 21 '' using 'velocity' ls 2, \ 22 '' using 'wetted' ls 3, \ 23 '' using 'clamp' ls 4, \ 24 '' using 'pressure' ls 5, \ 25 '' using 'exchange' ls 6, \ 26 newhistogram "GPUlab", \ 27 'build/sphere.gpulab1.histogram.dat' \ 28 using 'waves':xtic(1) ls 1 notitle, \ 29 '' using 'velocity' ls 2 notitle, \ 30 '' using 'wetted' ls 3 notitle, \ 31 '' using 'clamp' ls 4 notitle, \ 32 '' using 'pressure' ls 5 notitle, \ 33 '' using 'exchange' ls 6 notitle, \ 34 newhistogram "Capybara", \ 35 'build/sphere.capybara1.histogram.dat' \ 36 using 'waves':xtic(1) ls 1 notitle, \ 37 '' using 'velocity' ls 2 notitle, \ 38 '' using 'wetted' ls 3 notitle, \ 39 '' using 'clamp' ls 4 notitle, \ 40 '' using 'pressure' ls 5 notitle, \ 41 '' using 'exchange' ls 6 notitle