Rev 813 | Blame | Compare with Previous | Last modification | View Log | Download
set terminal png
set key under
set grid
set angles degrees
set xlabel "Anodové napětí [V]"
set ylabel "Anodový proud [mA]"
f(x)=k*x +q
fit f(x) "emise.txt" using 1:2 via k,q
g(x)=a*x +b
fit g(x) "emise.txt" using 1:3 via a,b
h(x)=c*x +d
fit h(x) "emise.txt" using 1:4 via c,d
l(x)=e*x +m
fit l(x) "emise.txt" using 1:5 via e,m
n(x)=o*x +p
fit n(x) "emise.txt" using 1:6 via o,p
set output "emisni_proud.png"
plot "emise.txt" using 1:2 with points title "2276 [K]", f(x) title "", "" using 1:3 with points title "2486 [K]", g(x) title "" , "" using 1:4 with points title "2153 [K]", h(x) title "", "emise.txt" using 1:5 with points title "2071 [K]", l(x) title "", "emise.txt" using 1:2 with points title "1975 [K]", n(x) title ""
#set print "emise_fit.txt"
print f(0)
print g(0)
print h(0)
print l(0)
print n(0)
set key off
set ylabel "Teplota katody [K]"
set xlabel "Příkon žhavení [W]"
set output "zhaveni.png"
plot "zhaveni.txt" using 1:2 with points