# Gnuplot script # plot relative timing parallel vs. sequential reset set macros #set term png enhanced font arial 10 size 520,390 set term png enhanced font arial 10 size 600,600 set xlabel "N" set key right center Right set xrange [2**16 : 2**34] set yrange [1:25] set ytics (1,2,3,4,8,10,20,25) set logscale x set logscale y set grid ### parallel vs. sequential set output 'timing-prl.png' #set ylabel "Parallel OpenMP gain in performance" set title "Gain in performance from parallel OpenMP" system("paste 10_rut.dat 10_rut_omp.dat > rut.tmp") system("paste 10_nuke.dat 10_nuke_omp.dat > nuke.tmp") system("paste 10_chromebook.dat 10_chromebook_omp.dat > chromebook.tmp") system("paste 10_cluster.dat 10_cluster_omp.dat > cluster.tmp") system("paste 10_cluster23.dat 10_cluster23_omp.dat > cluster23.tmp") system("paste 10_cluster42.dat 10_cluster42_omp.dat > cluster42.tmp") plot \ "cluster42.tmp" using 2:($5/$10) title "Cluster42 (No.cores=24)" with lines lw 2 lc rgb "brown",\ "cluster23.tmp" using 2:($5/$10) title "Cluster23 (No.cores=8)" with lines lw 2 lc rgb "gray",\ "cluster.tmp" using 2:($5/$10) title "Cluster (No.cores=4)" with lines lw 2 lc rgb "black",\ "rut.tmp" using 2:($5/$10) title "Laptop (No.cores=4)" with lines lw 2 lc rgb "red",\ "nuke.tmp" using 2:($5/$10) title "Nuke (No.cores=2)" with lines lw 2 lc rgb "blue",\ "chromebook.tmp" using 2:($5/$10) title "Chromebook (No.cores=2)" with lines lw 2 lc rgb "green"