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