1,5 → 1,5 |
set terminal png |
set output "chadba_utlum.png" |
set output "chodba_utlum.png" |
|
set xlabel "vzdalenost [m]" |
set ylabel "intenzita signalu [dBm]" |
9,18 → 9,36 |
q(x) = j*x + b |
h(x) = l*x + c |
|
|
fit g(x) "chodba1" using (-30.0/151.0 * $1+31.0):($3) via k,a |
fit q(x) "chodba2" using (-30.0/126.0 * $1+30.0):($3) via j,b |
fit h(x) "chodba3" using (-30.0/111.0 * $1+30.0):($3) via l,c |
#fit h(x) "chodba3" using (-30.0/111.0 * $1+30.0):($3) via l,c |
|
set xrange [1:50] |
|
plot "chodba1" using (-30.0/151.0 * $1+31.0):($3) with points title "1.pokus", "chodba2" using (-30.0/126.0 * $1+30.0):($3) with points title "2.pokus", "chodba3" using (-30.0/111.0 * $1+30.0):($3) with points title "3.pokus", g(x), q(x), h(x) |
l=k |
c=a - 3*0.65 |
|
|
set output "chodba_braun.png" |
plot "Chodba_s_lidmi.dat" using (-30.0/151.0 * $1+30.0):($3) with points notitle |
plot "chodba1" using (-30.0/151.0 * $1+31.0):($3) with points title "1.pokus", "chodba2" using (-30.0/126.0 * $1+30.0):($3) with points title "2.pokus", "chodba3" using (-30.0/111.0 * $1+30.0):($3) with points title "3.pokus", g(x) title "mean", h(x) "90 probability treshold" |
|
|
set autoscale x |
|
fit q(x) "mistnost1" using (-12.0/58.0 * $1+17.0):($3) via j,b |
|
set output "mistnost.png" |
plot "mistnost1" using (-12.0/58.0 * $1+17.0):($3) with points notitle |
plot "mistnost1" using (-12.0/58.0 * $1+17.0):($3) with points notitle, q(x) |
|
|
set xlabel "cas [s]" |
set ylabel "intenzita signalu [dBm]" |
|
bin(x,size) = floor(1.0*x/size)*size |
|
set output "chodba_braun.png" |
plot "Chodba_s_lidmi.dat" using (0.2 * $1):($3) with points notitle |
set output "chodba_braun_rozdeleni.png" |
plot "Chodba_s_lidmi.dat" using (bin($3, 1.0)):($3) with boxes notitle |
|
|
|