Subversion Repositories svnkaklik

Rev

Rev 585 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 585 Rev 587
Line 10... Line 10...
10
#d=0.1
10
#d=0.1
11
a=500
11
a=500
12
o=14
12
o=14
13
fi=pi
13
fi=pi
14
 
14
 
15
fit f(x) "osc.txt" using 1:2 via a, d, o,fi ,s 
15
fit f(x) "osc1.txt" using 1:2 via a, d, o,fi ,s 
16
plot f(x), "osc.txt" using 1:2
16
plot f(x), "osc1.txt" using 1:2
17
pause 1
17
pause 1
18
 
18
 
19
set output "osc2.ps"
19
set output "osc2.ps"
20
f(x)=a*exp(-d*x)*sin(o*x+fi)+s
20
f(x)=a*exp(-d*x)*sin(o*x+fi)+s
21
s=1913
21
s=1913
Line 38... Line 38...
38
 
38
 
39
fit f(x) "osc3.txt" using 1:2 via a, d, o,fi ,s 
39
fit f(x) "osc3.txt" using 1:2 via a, d, o,fi ,s 
40
plot f(x), "osc3.txt" using 1:2
40
plot f(x), "osc3.txt" using 1:2
41
pause 1
41
pause 1
42
 
42
 
43
!ps2pdf osc.txt
43
!ps2pdf osc1.ps
44
!ps2pdf osc2.txt
44
!ps2pdf osc2.ps
45
!ps2pdf osc3.txt
45
!ps2pdf osc3.ps
46
 
46