Subversion Repositories svnkaklik

Rev

Rev 813 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 813 Rev 965
Line 5... Line 5...
5
set angles degrees
5
set angles degrees
6
set xlabel "Anodové napětí [V]"
6
set xlabel "Anodové napětí [V]"
7
set ylabel "Anodový proud [mA]"
7
set ylabel "Anodový proud [mA]"
8
 
8
 
9
f(x)=k*x +q
9
f(x)=k*x +q
10
fit f(x) "emise1992.txt" using 1:2 via k,q
10
fit f(x) "emise.txt" using 1:2 via k,q
11
 
11
 
12
g(x)=a*x +b
12
g(x)=a*x +b
13
fit g(x) "emise2061.txt" using 1:2 via a,b
13
fit g(x) "emise.txt" using 1:3 via a,b
14
 
14
 
15
h(x)=c*x +d
15
h(x)=c*x +d
16
fit h(x) "emise2233.txt" using 1:2 via c,d
16
fit h(x) "emise.txt" using 1:4 via c,d
17
 
17
 
18
l(x)=e*x +m
18
l(x)=e*x +m
19
fit l(x) "emise2343.txt" using 1:2 via e,m
19
fit l(x) "emise.txt" using 1:5 via e,m
20
 
20
 
21
n(x)=o*x +p
21
n(x)=o*x +p
22
fit n(x) "emise2449.txt" using 1:2 via o,p
22
fit n(x) "emise.txt" using 1:6 via o,p
23
 
23
 
24
set output "emisni_proud.png"
24
set output "emisni_proud.png"
25
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 ""
25
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 ""
26
 
26
 
27
#set print "emise_fit.txt"
27
#set print "emise_fit.txt"
28
 
28
 
29
print f(0)
29
print f(0)
30
print g(0)
30
print g(0)