Subversion Repositories svnkaklik

Rev

Rev 774 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

set terminal png

set key off
set grid

f(x)=k*x+q
g(x)=p*x+t

fit f(x) "kalibrace.txt" using 1:2 via k,q
set output "kalibrace.png"
set xlabel "Číslo kanálu"
set ylabel "Energie [keV]"
plot "kalibrace.txt" using 1:2 with points, f(x)

fit g(x) "kalibrace.txt" using ($2):(($3)/($2)) via p,t
set output "Ekalibrace.png"
set xlabel "Energie [keV]"
set ylabel "S [-]"
plot "kalibrace.txt" using 2:($3/$2) with points, g(x)

set xrange [0:10]
set output "Cs137_manualne.png"
set xlabel "Pozice okna [V]"
set ylabel "Intenzita [Imp]"
plot "Cs137_manualne.txt" using 1:2 with points

set xrange [0:1800] 

set output "pozadi.png"
set xlabel "Energie [keV]"
set ylabel "Intenzita [Imp]"
plot "./data/sum.txt" using (f($1)):2 with points

set xrange [0:300] 
set output "Am241.png"
plot "./data/Am241.txt" using (f($1)):2 with points

set xrange [0:800] 
set output "Ba133.png"
plot "./data/Ba133.txt" using (f($1)):2 with points

set xrange [0:1800] 
set output "Co60.png"
plot "./data/Co60.txt" using (f($1)):2 with points

set output "Cs137.png"
plot "./data/cs137.txt" using (f($1)):2 with points

set output "neznamy.png"
plot "./data/neznamy.txt" using (f($1)):2 with points

set key under
set output "olovo.png"
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"

set key off
set yrange [0:500] 
set output "vsechno.png"
plot "./data/vsechno.txt" using (f($1)):2 with points