Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
608 kaklik 1
set terminal postscript
605 kaklik 2
set samples 2000
3
set key off
4
set xlabel "Time [s]"
5
set ylabel "Amplitude [mm]"
6
 
7
f(x)=a*exp(-d*x)*sin((2*pi/T)*x+fi)+s
609 kaklik 8
s=1063
605 kaklik 9
d=0.0002
609 kaklik 10
a=430
11
T=498
12
fi=-0.1
605 kaklik 13
 
608 kaklik 14
set output "poloha2.ps"
605 kaklik 15
fit f(x) "poloha2A.txt" using 1:2:3 via a,d,T,fi,s
608 kaklik 16
plot "poloha2A.txt" using 1:2:3 with errorbars, f(x)
605 kaklik 17
 
609 kaklik 18
s=961
19
a=254
20
fi=-0.728
608 kaklik 21
 
609 kaklik 22
set output "poloha1.ps"
23
fit f(x) "poloha1B.txt" using 1:2:3 via a,d,T,fi,s
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
27
 
608 kaklik 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)
609 kaklik 29
!ps2pdf poloha1.ps
608 kaklik 30
!ps2pdf poloha2.ps
609 kaklik 31