Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 773 → Rev 774

/dokumenty/skolni/PRA2/GammaSpektra/plot.gp
3,12 → 3,49
set key off
set grid
 
#f(x)=((4*x/1000*9.81*1.15)/(E*pi*0.000195**2))*100000
f(x)=k*x+q
 
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)
 
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 output "Am241.png"
plot "./data/Am241.txt" using (f($1)):2 with points
 
set output "Ba133.png"
plot "./data/Ba133.txt" using (f($1)):2 with points
 
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 output "olovo1.png"
plot "./data/olovo1.txt" using (f($1)):2 with points
 
set output "olovo2.png"
plot "./data/olovo2.txt" using (f($1)):2 with points
 
set yrange [0:500]
set output "vsechno.png"
plot "./data/vsechno.txt" using (f($1)):2 with points