masterarbeit/dokumentation/evolution3d/20171007_3dFit_all.gnuplot.script
2017-10-27 14:31:55 +02:00

27 lines
1.3 KiB
Plaintext

set datafile separator ","
f(x)=a*x+b
fit f(x) "20171007_3dFit_all.csv" every ::1 using 1:5 via a,b
set terminal png
set xlabel 'Regularity'
set ylabel 'Number of iterations'
set output "20171007_3dFit_all_regularity-vs-steps.png"
plot "20171007_3dFit_all.csv" every ::1 using 1:5 title "data", f(x) title "lin. fit" lc rgb "black"
g(x)=aa*x+bb
fit g(x) "20171007_3dFit_all.csv" every ::1 using 3:5 via aa,bb
set xlabel 'Improvement potential'
set ylabel 'Number of iterations'
set output "20171007_3dFit_all_improvement-vs-steps.png"
plot "20171007_3dFit_all.csv" every ::1 using 3:5 title "data", g(x) title "lin. fit" lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "20171007_3dFit_all.csv" every ::1 using 3:4 via aaa,bbb
set xlabel 'Improvement potential'
set ylabel 'error given by fitness-function'
set output "20171007_3dFit_all_improvement-vs-evo-error.png"
plot "20171007_3dFit_all.csv" every ::1 using 3:4 title "data", h(x) title "lin. fit" lc rgb "black"
i(x)=aaaa*x+bbbb
fit i(x) "20171007_3dFit_all.csv" every ::1 using 2:4 via aaaa,bbbb
set xlabel 'Variability'
set ylabel 'error given by fitness-function'
set output "20171007_3dFit_all_variability-vs-evo-error.png"
plot "20171007_3dFit_all.csv" every ::1 using 2:4 title "data", i(x) title "lin. fit" lc rgb "black"