21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
|
set datafile separator ","
|
||
|
f(x)=a*x+b
|
||
|
fit f(x) "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 2:5 via a,b
|
||
|
set terminal png
|
||
|
set xlabel 'Regularity'
|
||
|
set ylabel 'Iterations'
|
||
|
set output "20171020-evolution1D_4x7_100Times_addedOne_regularity-vs-steps.png"
|
||
|
plot "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 2:5 title "data", f(x) title "lin. fit" lc rgb "black"
|
||
|
g(x)=aa*x+bb
|
||
|
fit g(x) "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 4:5 via aa,bb
|
||
|
set xlabel 'Improvement potential'
|
||
|
set ylabel 'Iterations'
|
||
|
set output "20171020-evolution1D_4x7_100Times_addedOne_improvement-vs-steps.png"
|
||
|
plot "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 4:5 title "data", g(x) title "lin. fit" lc rgb "black"
|
||
|
h(x)=aaa*x+bbb
|
||
|
fit h(x) "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 4:6 via aaa,bbb
|
||
|
set xlabel 'Improvement potential'
|
||
|
set ylabel 'Fitting error'
|
||
|
set output "20171020-evolution1D_4x7_100Times_addedOne_improvement-vs-evo-error.png"
|
||
|
plot "20171020-evolution1D_4x7_100Times_addedOne.csv" every ::1 using 4:6 title "data", h(x) title "lin. fit" lc rgb "black"
|