Rev Author Line No. Line
3297 kaklik 1 !./sonar/src/sonar
2 set size 1,1
3 set origin 0,0
4 set multiplot
5  
6 set size 0.45,0.2
7 set origin 0,0.8
8 set xrange [0:250]
9 set autoscale y
10 set xlabel "sample"
11 set xtics 50
12 set ytics 20000
13 plot "/tmp/chirp.txt" using 1:2 with lines title 'chirp'
14  
15 set size 0.45,0.2
16 set origin 0.5,0.8
17 set xrange [0:250]
18 set autoscale y
19 set xlabel "sample"
20 set ytics 5000
21 plot "/tmp/echo.txt" using 1:2 with lines title 'L echo', "" using 1:3 with lines title 'R echo'
22  
23 set size 0.95,0.4
24 set origin 0,0.4
25 set xrange [2500:25000]
26 #set yrange [0:1e9]
27 set autoscale y
28 set xlabel "frequency"
29 set xtics 1000
30 set ytics 100000
31 set mxtics 2
32 plot "/tmp/spektra.txt" using 1:2 with lines title 'chirp spectrum'
33  
34 set size 0.95,0.4
35 set origin 0,0.0
36 set xrange [2500:25000]
37 #set yrange [0:1e9]
38 set autoscale y
39 set ytics 25000
40 plot "/tmp/spektra.txt" using 1:3 with lines title 'Left echo spectrum', "" using 1:4 with lines title 'Right echo spectrum'
41 pause 2
42 reread