set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale x
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "saxpy_parBaseElapsedTimeCyEl.png"
plot "perf_saxpy_par_O0.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par O0" with yerrorlines lw 2,"perf_saxpy_par_O1.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par O1" with yerrorlines lw 2,"perf_saxpy_par_O2.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par O2" with yerrorlines lw 2,"perf_saxpy_par_O3.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par O3" with yerrorlines lw 2,"perf_saxpy_par_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "saxpy_parBaseElapsedTime.png"
plot "perf_saxpy_par_O0.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par O0" with yerrorlines lw 2,"perf_saxpy_par_O1.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par O1" with yerrorlines lw 2,"perf_saxpy_par_O2.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par O2" with yerrorlines lw 2,"perf_saxpy_par_O3.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par O3" with yerrorlines lw 2,"perf_saxpy_par_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par Ofast" with yerrorlines lw 2,
set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale x
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "saxpy_parVectorizeElapsedTimeCyEl.png"
plot "perf_saxpy_par_O3.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par O3" with yerrorlines lw 2,"perf_saxpy_par_vectorize_O3.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par vectorize O3" with yerrorlines lw 2,"perf_saxpy_par_vectorize_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf saxpy par vectorize Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "saxpy_parVectorizeElapsedTime.png"
plot "perf_saxpy_par_O3.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par O3" with yerrorlines lw 2,"perf_saxpy_par_vectorize_O3.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par vectorize O3" with yerrorlines lw 2,"perf_saxpy_par_vectorize_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf saxpy par vectorize Ofast" with yerrorlines lw 2,