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
8
s=950
9
d=0.0002
10
a=390
11
T=496
12
fi="-300"
13
 
14
fit f(x) "poloha1A.txt" using 1:2:3 via a,d,T,fi,s
608 kaklik 15
 
16
s=950
17
d=0.0002
18
a=390
19
T=496
20
fi="-300"
21
 
22
set output "poloha2.ps"
605 kaklik 23
fit f(x) "poloha2A.txt" using 1:2:3 via a,d,T,fi,s
608 kaklik 24
plot "poloha2A.txt" using 1:2:3 with errorbars, f(x)
605 kaklik 25
 
608 kaklik 26
#set output "poloha1.ps"
27
#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)
29
 
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)
31
#!ps2pdf poloha1.ps
32
!ps2pdf poloha2.ps