Subversion Repositories svnkaklik

Rev

Rev 812 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 812 Rev 813
1
set terminal png
1
set terminal png
2
 
2
 
3
set key under
3
set key under
4
set grid
4
set grid
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) "emise1992.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) "emise2061.txt" using 1:2 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) "emise2233.txt" using 1:2 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) "emise2343.txt" using 1:2 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) "emise2449.txt" using 1:2 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 "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 ""
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)
31
print h(0)
31
print h(0)
32
print l(0)
32
print l(0)
33
print n(0)
33
print n(0)
34
 
34
 
35
set key off
35
set key off
36
set ylabel "Teplota katody [K]"
36
set ylabel "Teplota katody [K]"
37
set xlabel "Příkon žhavení [W]"
37
set xlabel "Příkon žhavení [W]"
38
 
38
 
39
set output "zhaveni.png"
39
set output "zhaveni.png"
40
plot "zhaveni.txt" using 1:2 with points
40
plot "zhaveni.txt" using 1:2 with points
41
 
41