Subversion Repositories svnkaklik

Rev

Rev 608 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 608 Rev 609
Line 3... Line 3...
3
set key off
3
set key off
4
set xlabel "Time [s]"
4
set xlabel "Time [s]"
5
set ylabel "Amplitude [mm]"
5
set ylabel "Amplitude [mm]"
6
 
6
 
7
f(x)=a*exp(-d*x)*sin((2*pi/T)*x+fi)+s
7
f(x)=a*exp(-d*x)*sin((2*pi/T)*x+fi)+s
8
s=950
8
s=1063
9
d=0.0002
9
d=0.0002
10
a=390
10
a=430
11
T=496
11
T=498
12
fi="-300"
12
fi=-0.1
13
 
-
 
14
fit f(x) "poloha1A.txt" using 1:2:3 via a,d,T,fi,s
-
 
15
 
-
 
16
s=950
-
 
17
d=0.0002
-
 
18
a=390
-
 
19
T=496
-
 
20
fi="-300"
-
 
21
 
13
 
22
set output "poloha2.ps"
14
set output "poloha2.ps"
23
fit f(x) "poloha2A.txt" using 1:2:3 via a,d,T,fi,s
15
fit f(x) "poloha2A.txt" using 1:2:3 via a,d,T,fi,s
24
plot "poloha2A.txt" using 1:2:3 with errorbars, f(x)
16
plot "poloha2A.txt" using 1:2:3 with errorbars, f(x)
25
 
17
 
-
 
18
s=961
-
 
19
a=254
-
 
20
fi=-0.728
-
 
21
 
26
#set output "poloha1.ps"
22
set output "poloha1.ps"
27
#fit f(x) "poloha1B.txt" using 1:2:3 via a,d,T,fi,s
23
fit f(x) "poloha1B.txt" using 1:2:3 via a,d,T,fi,s
28
#plot "poloha1B.txt" using 1:2:3 with errorbars, f(x)
24
plot "poloha1B.txt" using 1:2:3 with errorbars, f(x)
-
 
25
 
-
 
26
#fit f(x) "poloha1A.txt" using 1:2:3 via a,d,T,fi,s
29
 
27
 
30
#plot "poloha1A.txt" using 1:2:3 with errorbars, "poloha2A.txt" using 1:2:3 with errorbars, "poloha1B.txt" using 1:2:3 with errorbars, f(x)
28
#plot "poloha1A.txt" using 1:2:3 with errorbars, "poloha2A.txt" using 1:2:3 with errorbars, "poloha1B.txt" using 1:2:3 with errorbars, f(x)
31
#!ps2pdf poloha1.ps
29
!ps2pdf poloha1.ps
32
!ps2pdf poloha2.ps
30
!ps2pdf poloha2.ps
-
 
31