Subversion Repositories svnkaklik

Rev

Rev 812 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
811 kaklik 1
set terminal png
2
 
3
set key under
4
set grid
5
set angles degrees
6
set xlabel "Anodové napětí [V]"
7
set ylabel "Anodový proud [mA]"
8
 
9
f(x)=k*x +q
10
fit f(x) "emise1992.txt" using 1:2 via k,q
11
 
12
g(x)=a*x +b
13
fit g(x) "emise2061.txt" using 1:2 via a,b
14
 
15
h(x)=c*x +d
16
fit h(x) "emise2233.txt" using 1:2 via c,d
17
 
18
l(x)=e*x +m
19
fit l(x) "emise2343.txt" using 1:2 via e,m
20
 
21
n(x)=o*x +p
22
fit n(x) "emise2449.txt" using 1:2 via o,p
23
 
24
set output "emisni_proud.png"
812 kaklik 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 ""
811 kaklik 26
 
813 kaklik 27
#set print "emise_fit.txt"
811 kaklik 28
 
812 kaklik 29
print f(0)
30
print g(0)
31
print h(0)
32
print l(0)
33
print n(0)
811 kaklik 34
 
812 kaklik 35
set key off
36
set ylabel "Teplota katody [K]"
37
set xlabel "Příkon žhavení [W]"
38
 
39
set output "zhaveni.png"
40
plot "zhaveni.txt" using 1:2 with points
41