3297 |
kaklik |
1 |
!./sonar/src/sonar |
|
|
2 |
set size 1,1 |
|
|
3 |
set origin 0,0 |
|
|
4 |
set multiplot |
|
|
5 |
|
|
|
6 |
set size 0.95,0.2 |
|
|
7 |
set origin 0,0.8 |
|
|
8 |
set xrange [0:150] |
|
|
9 |
set xlabel "sample" |
|
|
10 |
set autoscale y |
|
|
11 |
set key off |
|
|
12 |
set ytics 20000 |
|
|
13 |
plot "/tmp/chirp.txt" using 1:2 with lines title 'chirp' |
|
|
14 |
|
|
|
15 |
set size 0.95,0.4 |
|
|
16 |
set origin 0,0.4 |
|
|
17 |
set xrange [0:5] |
|
|
18 |
set xlabel "distance [m]" |
|
|
19 |
set autoscale y |
|
|
20 |
set key on |
|
|
21 |
set ytics 5000 |
|
|
22 |
set mxtics 10 |
|
|
23 |
plot "/tmp/sonar.txt" using 1:2 with lines title 'L echo', "" using 1:3 with lines title 'R echo' |
|
|
24 |
|
|
|
25 |
set size 0.95,0.4 |
|
|
26 |
set origin 0,0 |
|
|
27 |
set xrange [0:5] |
|
|
28 |
set yrange [0:2e9] |
|
|
29 |
#set autoscale y |
|
|
30 |
set key on |
|
|
31 |
set ytics 1e9 |
|
|
32 |
plot "/tmp/sonar.txt" using 1:4 with lines title 'L correlation', "" using 1:5 with lines title 'R correlation' |
|
|
33 |
pause 1 |
|
|
34 |
reread |