Subversion Repositories svnkaklik

Rev

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

set terminal png

#set samples 20
set key on
set xlabel "t [s]"
set ylabel "P [Pa]"
set grid
set logscale y
set yrange [1:1e5]

set output "cerpani.png"


f(x)= p0 * exp(-s/V * x)

V=11.8
p0=1e5
s=2

fit [0:200] f(x) "cerpani.txt" using 2:1 via s, p0

plot "cerpani.txt" using 2:1 with points title "bez proplachovani", "cerpani.txt" using 3:1 with points title "s proplachovanim"

#!ps2pdf cerpani.ps

set xlabel "Termoclankovy vakuometr"
set ylabel "P [Pa]"
set output "kalibrace.png"
set key off
f(x)= 10.0**(k * x + q) 
fit f(x) "kalibrace.txt" using 2:1 via k,q
plot "kalibrace.txt" using 2:1 with points, f(x)