Subversion Repositories svnkaklik

Rev

Rev 811 | Rev 813 | Go to most recent revision | 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) "emise1992.txt" using 1:2 via k,q

g(x)=a*x +b
fit g(x) "emise2061.txt" using 1:2 via a,b

h(x)=c*x +d
fit h(x) "emise2233.txt" using 1:2 via c,d

l(x)=e*x +m
fit l(x) "emise2343.txt" using 1:2 via e,m

n(x)=o*x +p
fit n(x) "emise2449.txt" using 1:2 via o,p

set output "emisni_proud.png"
plot "emise1992.txt" using 1:2 with points title "1992 K", f(x) title "", "emise2061.txt" using 1:2 with points  title "2061 K",g(x) title "" , "emise2233.txt" using 1:2 with points  title "2233 K", h(x) title "",  "emise2343.txt" using 1:2 with points title "2343 K", l(x) title "",  "emise2449.txt" using 1:2 with points  title "2449 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