Subversion Repositories svnkaklik

Rev

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

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