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 y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "grayscott_seqBaseElapsedTimeCyEl.png"
plot "perf_grayscott_seq_O0.txt" using 1:2:($2-$4):($2+$4) title "perf grayscott seq O0" with yerrorlines lw 2,"perf_grayscott_seq_O1.txt" using 1:2:($2-$4):($2+$4) title "perf grayscott seq O1" with yerrorlines lw 2,"perf_grayscott_seq_O2.txt" using 1:2:($2-$4):($2+$4) title "perf grayscott seq O2" with yerrorlines lw 2,"perf_grayscott_seq_O3.txt" using 1:2:($2-$4):($2+$4) title "perf grayscott seq O3" with yerrorlines lw 2,"perf_grayscott_seq_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf grayscott seq Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "grayscott_seqBaseElapsedTime.png"
plot "perf_grayscott_seq_O0.txt" using 1:3:($3-$5):($3+$5) title "perf grayscott seq O0" with yerrorlines lw 2,"perf_grayscott_seq_O1.txt" using 1:3:($3-$5):($3+$5) title "perf grayscott seq O1" with yerrorlines lw 2,"perf_grayscott_seq_O2.txt" using 1:3:($3-$5):($3+$5) title "perf grayscott seq O2" with yerrorlines lw 2,"perf_grayscott_seq_O3.txt" using 1:3:($3-$5):($3+$5) title "perf grayscott seq O3" with yerrorlines lw 2,"perf_grayscott_seq_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf grayscott seq Ofast" with yerrorlines lw 2,