Subversion Repositories svnkaklik

Rev

Rev 774 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 774 Rev 776
Line 2... Line 2...
2
 
2
 
3
set key off
3
set key off
4
set grid
4
set grid
5
 
5
 
6
f(x)=k*x+q
6
f(x)=k*x+q
-
 
7
g(x)=p*x+t
7
 
8
 
8
fit f(x) "kalibrace.txt" using 1:2 via k, q
9
fit f(x) "kalibrace.txt" using 1:2 via k,q
9
 
-
 
10
set output "kalibrace.png"
10
set output "kalibrace.png"
11
set xlabel "Číslo kanálu"
11
set xlabel "Číslo kanálu"
12
set ylabel "Energie [keV]"
12
set ylabel "Energie [keV]"
13
plot "kalibrace.txt" using 1:2 with points, f(x)
13
plot "kalibrace.txt" using 1:2 with points, f(x)
14
 
14
 
-
 
15
fit g(x) "kalibrace.txt" using ($2):(($3)/($2)) via p,t
-
 
16
set output "Ekalibrace.png"
-
 
17
set xlabel "Energie [keV]"
-
 
18
set ylabel "S [-]"
-
 
19
plot "kalibrace.txt" using 2:($3/$2) with points, g(x)
-
 
20
 
-
 
21
set xrange [0:10]
15
set output "Cs137_manualne.png"
22
set output "Cs137_manualne.png"
16
set xlabel "Pozice okna [V]"
23
set xlabel "Pozice okna [V]"
17
set ylabel "Intenzita [Imp]"
24
set ylabel "Intenzita [Imp]"
18
plot "Cs137_manualne.txt" using 1:2 with points
25
plot "Cs137_manualne.txt" using 1:2 with points
19
 
26
 
Line 22... Line 29...
22
set output "pozadi.png"
29
set output "pozadi.png"
23
set xlabel "Energie [keV]"
30
set xlabel "Energie [keV]"
24
set ylabel "Intenzita [Imp]"
31
set ylabel "Intenzita [Imp]"
25
plot "./data/sum.txt" using (f($1)):2 with points
32
plot "./data/sum.txt" using (f($1)):2 with points
26
 
33
 
-
 
34
set xrange [0:300] 
27
set output "Am241.png"
35
set output "Am241.png"
28
plot "./data/Am241.txt" using (f($1)):2 with points
36
plot "./data/Am241.txt" using (f($1)):2 with points
29
 
37
 
-
 
38
set xrange [0:800] 
30
set output "Ba133.png"
39
set output "Ba133.png"
31
plot "./data/Ba133.txt" using (f($1)):2 with points
40
plot "./data/Ba133.txt" using (f($1)):2 with points
32
 
41
 
-
 
42
set xrange [0:1800] 
33
set output "Co60.png"
43
set output "Co60.png"
34
plot "./data/Co60.txt" using (f($1)):2 with points
44
plot "./data/Co60.txt" using (f($1)):2 with points
35
 
45
 
36
set output "Cs137.png"
46
set output "Cs137.png"
37
plot "./data/cs137.txt" using (f($1)):2 with points
47
plot "./data/cs137.txt" using (f($1)):2 with points
38
 
48
 
39
set output "neznamy.png"
49
set output "neznamy.png"
40
plot "./data/neznamy.txt" using (f($1)):2 with points
50
plot "./data/neznamy.txt" using (f($1)):2 with points
41
 
51
 
42
set output "olovo1.png"
52
set key under
43
plot "./data/olovo1.txt" using (f($1)):2 with points
-
 
44
 
-
 
45
set output "olovo2.png"
53
set output "olovo.png"
46
plot "./data/olovo2.txt" using (f($1)):2 with points
54
plot "./data/olovo1.txt" using (f($1)):2 with points title "4,7mm", "./data/olovo2.txt" using (f($1)):2 with points title "9,4mm"
47
 
55
 
-
 
56
set key off
48
set yrange [0:500] 
57
set yrange [0:500] 
49
set output "vsechno.png"
58
set output "vsechno.png"
50
plot "./data/vsechno.txt" using (f($1)):2 with points
59
plot "./data/vsechno.txt" using (f($1)):2 with points
51
 
60
 
-
 
61