Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
605 kaklik 1
#set terminal postscript
2
set samples 2000
3
#set output "cavendish.ps"
4
set key off
5
set xlabel "Time [s]"
6
set ylabel "Amplitude [mm]"
7
 
8
f(x)=a*exp(-d*x)*sin((2*pi/T)*x+fi)+s
9
s=950
10
d=0.0002
11
a=390
12
T=496
13
fi="-300"
14
 
15
fit f(x) "poloha1A.txt" using 1:2:3 via a,d,T,fi,s
16
fit f(x) "poloha2A.txt" using 1:2:3 via a,d,T,fi,s
17
fit f(x) "poloha1B.txt" using 1:2:3 via a,d,T,fi,s
18
 
19
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)
20
#!ps2pdf cavedish.ps