masterarbeit/dokumentation/evolution1d/adv-lamb.gnuplot.script
2017-10-28 20:54:05 +02:00

27 lines
1.9 KiB
Plaintext

set datafile separator ","
f(x)=a*x+b
fit f(x) "adv-lamb.csv" every ::1 using 2:5 via a,b
set terminal png
set xlabel 'Regularity'
set ylabel 'Iterations'
set output "adv-lamb_regularity-vs-steps.png"
plot "adv-lamb_25.csv" every ::1 using 2:5 title "\lambda = 0.25", "adv-lamb_05.csv" every ::1 using 2:5 title "\lambda = 0.5", "adv-lamb_75.csv" every ::1 using 2:5 title "\lambda = 0.75", "adv-lamb_1.csv" every ::1 using 2:5 title "\lambda = 1", f(x) title "lin. fit" lc rgb "black"
g(x)=aa*x+bb
fit g(x) "adv-lamb.csv" every ::1 using 4:5 via aa,bb
set xlabel 'Improvement potential'
set ylabel 'Iteration'
set output "adv-lamb_improvement-vs-steps.png"
plot "adv-lamb_25.csv" every ::1 using 4:5 title "\lambda = 0.25", "adv-lamb_05.csv" every ::1 using 4:5 title "\lambda = 0.5", "adv-lamb_75.csv" every ::1 using 4:5 title "\lambda = 0.75", "adv-lamb_1.csv" every ::1 using 4:5 title "\lambda = 1", g(x) title "lin. fit" lc rgb "black"
h(x)=aaa*x+bbb
fit h(x) "adv-lamb.csv" every ::1 using 4:6 via aaa,bbb
set xlabel 'Improvement potential'
set ylabel 'Fitting error'
set output "adv-lamb_improvement-vs-evo-error.png"
plot "adv-lamb_25.csv" every ::1 using 4:6 title "\lambda = 0.25", "adv-lamb_05.csv" every ::1 using 4:6 title "\lambda = 0.5", "adv-lamb_75.csv" every ::1 using 4:6 title "\lambda = 0.75", "adv-lamb_1.csv" every ::1 using 4:6 title "\lambda = 1", h(x) title "lin. fit" lc rgb "black"
i(x)=aaaa*x+bbbb
fit i(x) "adv-lamb.csv" every ::1 using 3:6 via aaaa,bbbb
set xlabel 'Variability'
set ylabel 'Fitting error'
set output "adv-lamb_variability-vs-evo-error.png"
plot "adv-lamb_25.csv" every ::1 using 3:6 title "\lambda = 0.25", "adv-lamb_05.csv" every ::1 using 3:6 title "\lambda = 0.5", "adv-lamb_75.csv" every ::1 using 3:6 title "\lambda = 0.75", "adv-lamb_1.csv" every ::1 using 3:6 title "\lambda = 1", i(x) title "lin. fit" lc rgb "black"