masterarbeit/dokumentation/evolution1d/adv-lamb_05.gnuplot.script

21 lines
858 B
Plaintext
Raw Normal View History

2017-10-24 11:22:20 +00:00
set datafile separator ","
f(x)=a*x+b
fit f(x) "adv-lamb_05.csv" every ::1 using 2:5 via a,b
set terminal png
set xlabel 'Regularity'
set ylabel 'Iterations'
set output "adv-lamb_05_regularity-vs-steps.png"
plot "adv-lamb_05.csv" every ::1 using 2:5 title "data", f(x) title "lin. fit" lc rgb "black"
g(x)=aa*x+bb
fit g(x) "adv-lamb_05.csv" every ::1 using 4:5 via aa,bb
set xlabel 'Improvement potential'
set ylabel 'Iterations'
set output "adv-lamb_05_improvement-vs-steps.png"
plot "adv-lamb_05.csv" every ::1 using 4:5 title "data", g(x) title "lin. fit" lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "adv-lamb_05.csv" every ::1 using 4:6 via aaa,bbb
set xlabel 'Improvement potential'
set ylabel 'Fitting error'
set output "adv-lamb_05_improvement-vs-evo-error.png"
plot "adv-lamb_05.csv" every ::1 using 4:6 title "data", h(x) title "lin. fit" lc rgb "black"