set datafile separator ","
f(x)=a*x+b
fit f(x) "all.csv" every ::1 using 1:5 via a,b
set terminal png
set xlabel 'regularity'
set ylabel 'steps'
set output "all_regularity-vs-steps.png"
plot     "20170926_3dFit_4x4x4_100times.csv" every ::1 using 1:5 title "4x4x4" pt 2,     "20171013_3dFit_5x4x4_100times.csv" every ::1 using 1:5 title "5x4x4" pt 2,     "20171005_3dFit_7x4x4_100times.csv" every ::1 using 1:5 title "7x4x4" pt 2,     "20171005_3dFit_4x4x5_100times.csv" every ::1 using 1:5 title "4x4x5" pt 2,     "20171013_3dFit_4x4x7_100times.csv" every ::1 using 1:5 title "4x4x7" pt 2,     "20170926_3dFit_5x5x5_100times.csv" every ::1 using 1:5 title "5x5x5" pt 2,     "20171021-evolution3D_6x6_100Times.csv" every ::1 using 1:5 title "6x6x6" pt 2,     f(x) title "lin. fit" lc rgb "black"
g(x)=aa*x+bb
fit g(x) "all.csv" every ::1 using 3:5 via aa,bb
set xlabel 'improvement potential'
set ylabel 'steps'
set output "all_improvement-vs-steps.png"
plot     "20170926_3dFit_4x4x4_100times.csv" every ::1 using 3:5 title "4x4x4" pt 2,     "20171013_3dFit_5x4x4_100times.csv" every ::1 using 3:5 title "5x4x4" pt 2,     "20171005_3dFit_7x4x4_100times.csv" every ::1 using 3:5 title "7x4x4" pt 2,     "20171005_3dFit_4x4x5_100times.csv" every ::1 using 3:5 title "4x4x5" pt 2,     "20171013_3dFit_4x4x7_100times.csv" every ::1 using 3:5 title "4x4x7" pt 2,     "20170926_3dFit_5x5x5_100times.csv" every ::1 using 3:5 title "5x5x5" pt 2,     "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:5 title "6x6x6" pt 2,     g(x) title "lin. fit" lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "all.csv" every ::1 using 3:4 via aaa,bbb
set xlabel 'improvement potential'
set ylabel 'evolution error'
set output "all_improvement-vs-evo-error.png"
plot     "20170926_3dFit_4x4x4_100times.csv" every ::1 using 3:4 title "4x4x4" pt 2,     "20171013_3dFit_5x4x4_100times.csv" every ::1 using 3:4 title "5x4x4" pt 2,     "20171005_3dFit_7x4x4_100times.csv" every ::1 using 3:4 title "7x4x4" pt 2,     "20171005_3dFit_4x4x5_100times.csv" every ::1 using 3:4 title "4x4x5" pt 2,     "20171013_3dFit_4x4x7_100times.csv" every ::1 using 3:4 title "4x4x7" pt 2,     "20170926_3dFit_5x5x5_100times.csv" every ::1 using 3:4 title "5x5x5" pt 2,     "20171021-evolution3D_6x6_100Times.csv" every ::1 using 3:4 title "6x6x6" pt 2,     h(x) title "lin. fit" lc rgb "black"
i(x)=aaaa*x+bbbb
fit i(x) "all.csv" every ::1 using 2:4 via aaaa,bbbb
set xlabel 'variability'
set ylabel 'evolution error'
set output "all_variability-vs-evo-error.png"
plot     "20170926_3dFit_4x4x4_100times.csv" every ::1 using 2:4 title "4x4x4" pt 2,     "20171013_3dFit_5x4x4_100times.csv" every ::1 using 2:4 title "5x4x4" pt 2,     "20171005_3dFit_7x4x4_100times.csv" every ::1 using 2:4 title "7x4x4" pt 2,     "20171005_3dFit_4x4x5_100times.csv" every ::1 using 2:4 title "4x4x5" pt 2,     "20171013_3dFit_4x4x7_100times.csv" every ::1 using 2:4 title "4x4x7" pt 2,     "20170926_3dFit_5x5x5_100times.csv" every ::1 using 2:4 title "5x5x5" pt 2,     "20171021-evolution3D_6x6_100Times.csv" every ::1 using 2:4 title "6x6x6" pt 2,     i(x) title "lin. fit" lc rgb "black"
