/programy/C/ix86/sound/plot.gn |
---|
1,6 → 1,4 |
!./sonar |
set xrange [0:3000] |
set autoscale y |
set size 1,1 |
set origin 0,0 |
set multiplot |
7,12 → 5,17 |
set size 1,0.2 |
set origin 0,0.8 |
set xrange [0:1000] |
plot "./output.txt" using 1:($2/2) with lines title 'chirp' |
set size 1,0.4 |
set origin 0,0.4 |
set xrange [0:10000] |
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/1000) with lines title 'L correlation', "" using 1:($4/1000) with lines title 'R correlation' |
set xrange [0:10000] |
#set yrange [-200000:200000] |
set autoscale y |
plot "" using 1:($5/1000) with lines title 'L correlation', "" using 1:($6/1000) with lines title 'R correlation' |
pause 1 |
reread |