set datafile separator ","
f(x)=a*x+b
fit f(x) "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 2:5 via a,b
set terminal png
set output "20170830-evolution1D_5x5_100Times-added_one_regularity-vs-steps.png"
plot "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 2:5 title "regularity vs. steps", f(x) lc rgb "black"
g(x)=aa*x+bb
fit g(x) "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 4:5 via aa,bb
set output "20170830-evolution1D_5x5_100Times-added_one_improvement-vs-steps.png"
plot "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 4:5 title "improvement potential vs. steps", g(x) lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 4:6 via aaa,bbb
set output "20170830-evolution1D_5x5_100Times-added_one_improvement-vs-evo-error.png"
plot "20170830-evolution1D_5x5_100Times-added_one.csv" every ::1 using 4:6 title "improvement potential vs. evolution error", h(x) lc rgb "black"
