1,6 → 1,18 |
!./sonar |
set xrange [0:4000] |
set yrange [-30000:30000] |
plot "./output.txt" using 1:($2/2) with lines title 'chirp' , "" using 1:($3*5-10000) with lines title 'echo' ,"" using 1:($4/5000+10000) with lines title 'Correlation' |
set xrange [0:3000] |
set autoscale y |
set size 1,1 |
set origin 0,0 |
set multiplot |
|
set size 1,0.2 |
set origin 0,0.8 |
plot "./output.txt" using 1:($2/2) with lines title 'chirp' |
set size 1,0.4 |
set origin 0,0.4 |
plot "" using 1:($3*5-1000) with lines title 'L echo', "" using 1:($4*5+1000) with lines title 'R echo' |
set size 1,0.4 |
set origin 0,0.0 |
plot "" using 1:($4/5000) with lines title 'L correlation', "" using 1:($4/5000) with lines title 'R correlation' |
pause 1 |
reread |