Rev 920 | Blame | Compare with Previous | Last modification | View Log | Download
set terminal png
set key off
set grid
set angles degrees
k=1
q=1
f(x)=k*x + q
set xlabel "C [pF]"
set ylabel "I [mA]"
#fit f(x) "komutace_nahoru.txt" using 1:3 via k,q
set output "rezonance_kapacita.png"
plot "rezonance_kapacita.txt" using 1:($3) with points pt 3
set xlabel "f [kHz]"
set ylabel "I [mA]"
set key under
f(x) = A /(sqrt(1+B**2 * (x/W - W/x)**2))
A=115
W=210
B=10
g(x) = C /(sqrt(1+D**2 * (x/E - E/x)**2))
C=115
E=210
D=10
fit f(x) "rezonance_frekvence_bezjadra.txt" using 1:3 via A,B,W
fit g(x) "rezonance_frekvence_sjadrem.txt" using 1:3 via C,D,E
set output "rezonance_frekvence.png"
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)
set output "rezonance_frekvence_korekce.png"
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"