Subversion Repositories svnkaklik

Rev

Rev 813 | 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
965 kaklik 10
fit f(x) "emise.txt" using 1:2 via k,q
811 kaklik 11
 
12
g(x)=a*x +b
965 kaklik 13
fit g(x) "emise.txt" using 1:3 via a,b
811 kaklik 14
 
15
h(x)=c*x +d
965 kaklik 16
fit h(x) "emise.txt" using 1:4 via c,d
811 kaklik 17
 
18
l(x)=e*x +m
965 kaklik 19
fit l(x) "emise.txt" using 1:5 via e,m
811 kaklik 20
 
21
n(x)=o*x +p
965 kaklik 22
fit n(x) "emise.txt" using 1:6 via o,p
811 kaklik 23
 
24
set output "emisni_proud.png"
965 kaklik 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 ""
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