Subversion Repositories svnkaklik

Rev

Rev 693 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
693 kaklik 1
set terminal png
2
 
3
#set samples 20
4
set key on
5
set xlabel "t [s]"
6
set ylabel "P [Pa]"
7
set grid
8
set logscale y
9
set yrange [1:1e5]
10
 
11
set output "cerpani.png"
12
 
13
 
14
f(x)= p0 * exp(-s/V * x)
15
 
16
V=11.8
17
p0=1e5
18
s=2
19
 
20
fit [0:200] f(x) "cerpani.txt" using 2:1 via s, p0
21
 
22
plot "cerpani.txt" using 2:1 with points title "bez proplachovani", "cerpani.txt" using 3:1 with points title "s proplachovanim"
23
 
24
#!ps2pdf cerpani.ps
25
 
26
set xlabel "Termoclankovy vakuometr"
27
set ylabel "P [Pa]"
28
set output "kalibrace.png"
29
set key off
30
f(x)= 10.0**(k * x + q) 
31
fit f(x) "kalibrace.txt" using 2:1 via k,q
32
plot "kalibrace.txt" using 2:1 with points, f(x)