openmp-slides.gnuplot (1178B)
1 #!/usr/bin/gnuplot -d 2 3 set terminal svg size 1920/8*0.9,2.3*1080/6*0.7 dynamic round font 'Open Sans, 10' lw 0.5 enhanced 4 set key right Left reverse width -2 5 set xlabel 'No. of parallel threads' offset 0,1 6 set ylabel 'Time, ms' offset 3,0 7 set xtics offset 0,0.5 8 set ytics 0,20,80 offset 0.5,0 9 set xrange [0:10] 10 load 'gnuplot/style.gnuplot' 11 set output 'build/openmp-slides.svg' 12 set multiplot layout 2,1 13 plot \ 14 'build/sphere.storm.openmp.dat' with linespoints ls 1 lw 4 smooth csplines title 'Storm', \ 15 'build/sphere.gpulab1.openmp.dat' with linespoints ls 2 lw 4 smooth csplines title 'GPUlab', \ 16 'build/sphere.capybara1.openmp.dat' with linespoints ls 3 lw 4 smooth csplines title 'Capybara' 17 18 set ylabel 'Speedup' offset 3,0 19 set ytics 0,2 offset 0.5,0 20 set yrange [0:10] 21 set key left Left reverse height -2 22 plot \ 23 'build/sphere.storm.openmp.dat' using 1:3 with linespoints ls 1 lw 4 smooth csplines title 'Storm', \ 24 'build/sphere.gpulab1.openmp.dat' using 1:3 with linespoints ls 2 lw 4 smooth csplines title 'GPUlab', \ 25 'build/sphere.capybara1.openmp.dat' using 1:3 with linespoints ls 3 lw 4 smooth csplines title 'Capybara', \ 26 x with lines lw 4 lc 'gray' dt 3 notitle 27