Subversion Repositories svnkaklik

Rev

Rev 920 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
920 kaklik 1
set terminal png
2
 
3
set key off
4
set grid
5
set angles degrees
6
 
7
k=1
8
q=1
9
 
10
f(x)=k*x + q
11
 
12
set xlabel "C [pF]"
13
set ylabel "I [mA]"
14
 
15
#fit f(x) "komutace_nahoru.txt" using 1:3 via k,q
16
 
17
set output "rezonance_kapacita.png"
18
plot "rezonance_kapacita.txt" using 1:($3) with points pt 3
19
 
20
 
21
 
22
set xlabel "f [kHz]"
23
set ylabel "I [mA]"
24
set key under
25
 
26
 
926 kaklik 27
f(x) = A /(sqrt(1+B**2 * (x/W - W/x)**2))
920 kaklik 28
 
926 kaklik 29
A=115
30
W=210
31
B=10
32
 
33
g(x) = C /(sqrt(1+D**2 * (x/E - E/x)**2))
34
 
35
C=115
36
E=210
37
D=10
38
 
39
 
40
fit f(x) "rezonance_frekvence_bezjadra.txt" using 1:3 via A,B,W
41
 
42
fit g(x) "rezonance_frekvence_sjadrem.txt" using 1:3 via C,D,E
43
 
44
 
920 kaklik 45
set output "rezonance_frekvence.png"
926 kaklik 46
plot "rezonance_frekvence_bezjadra.txt" using 1:($3) with points title "bez jadra", "rezonance_frekvence_sjadrem.txt" using 1:($3) with points title "s jadrem", f(x), g(x)
920 kaklik 47
 
48
 
49
set output "rezonance_frekvence_korekce.png"
50
plot "rezonance_frekvence_bezjadra_korekce.txt" using 1:($3) with points title "bez jadra", "rezonance_frekvence_sjadrem_korekce.txt" using 1:($3) with points title "s jadrem"
51