set datafile separator ","
f(x)=a*x+b
fit f(x) "20171021-evolution3D_6x6_100Times.csv" every ::1 using 1:5 via a,b
set terminal png
set xlabel 'regularity'
set ylabel 'steps'
set output "20171021-evolution3D_6x6_100Times_regularity-vs-steps.png"
plot "20171021-evolution3D_6x6_100Times.csv" every ::1 using 1:5 title "data", f(x) title "lin. fit" lc rgb "black"
g(x)=aa*x+bb
fit g(x) "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:5 via aa,bb
set xlabel 'improvement potential'
set ylabel 'steps'
set output "20171021-evolution3D_6x6_100Times_improvement-vs-steps.png"
plot "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:5 title "data", g(x) title "lin. fit" lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:4 via aaa,bbb
set xlabel 'improvement potential'
set ylabel 'evolution error'
set output "20171021-evolution3D_6x6_100Times_improvement-vs-evo-error.png"
plot "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:4 title "data", h(x) title "lin. fit" lc rgb "black"
