| 1055 | kaklik | 1 | set terminal png
 | 
        
           |  |  | 2 | set output "chadba_utlum.png"
 | 
        
           |  |  | 3 |   | 
        
           |  |  | 4 | set xlabel "vzdalenost [m]"
 | 
        
           |  |  | 5 | set ylabel "intenzita signalu [dBm]"
 | 
        
           |  |  | 6 |   | 
        
           |  |  | 7 | #f(x) = Lo + 10*n*log(x/d0) + a
 | 
        
           |  |  | 8 | g(x) = k*x + a
 | 
        
           |  |  | 9 | q(x) = j*x + b
 | 
        
           |  |  | 10 | h(x) = l*x + c
 | 
        
           |  |  | 11 |   | 
        
           |  |  | 12 | fit g(x) "chodba1" using (-30.0/151.0 * $1+31.0):($3) via k,a
 | 
        
           |  |  | 13 | fit q(x) "chodba2" using (-30.0/126.0 * $1+30.0):($3) via j,b
 | 
        
           |  |  | 14 | fit h(x) "chodba3" using (-30.0/111.0 * $1+30.0):($3) via l,c
 | 
        
           |  |  | 15 |   | 
        
           |  |  | 16 |   | 
        
           |  |  | 17 | 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)
 | 
        
           |  |  | 18 |   | 
        
           |  |  | 19 |   | 
        
           |  |  | 20 | set output "chodba_braun.png"
 | 
        
           |  |  | 21 | plot "Chodba_s_lidmi.dat" using (-30.0/151.0 * $1+30.0):($3) with points notitle 
 | 
        
           |  |  | 22 |   | 
        
           |  |  | 23 |   | 
        
           |  |  | 24 | set output "mistnost.png"
 | 
        
           |  |  | 25 | plot "mistnost1" using (-12.0/58.0 * $1+17.0):($3) with points notitle 
 | 
        
           |  |  | 26 |   |