Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if [ $# -lt 2 ]
|
---|
4 | then
|
---|
5 | echo "Usage: $0 <input> <output>"
|
---|
6 | exit 1
|
---|
7 | fi
|
---|
8 |
|
---|
9 | inpFile=$1
|
---|
10 | outFile=$2
|
---|
11 |
|
---|
12 | grep " NEU " ${inpFile} > neu_tmp
|
---|
13 |
|
---|
14 | gnuplot << EOF
|
---|
15 |
|
---|
16 | set term png
|
---|
17 | set output "${outFile}"
|
---|
18 |
|
---|
19 | set xdata time
|
---|
20 | set timefmt "%H:%M:%S"
|
---|
21 |
|
---|
22 | set format x "%H:%M"
|
---|
23 |
|
---|
24 | set title "FFMJ1 (${inpFile})"
|
---|
25 |
|
---|
26 | set ylabel "meters"
|
---|
27 | set yrange [-0.3:0.3]
|
---|
28 |
|
---|
29 | set ytics nomirror
|
---|
30 | set y2range [0:50]
|
---|
31 | set y2tics 0,10,20
|
---|
32 |
|
---|
33 | plot "neu_tmp" u 5:19 t "dH" w l lt 3, \
|
---|
34 | "" u 5:17 t "dN" w l lt 1, \
|
---|
35 | "" u 5:18 t "dE" w l lt 2, \
|
---|
36 | "" u 5:6 t "# sat" axis x1y2 w l lt 4
|
---|
37 |
|
---|
38 | EOF
|
---|
39 |
|
---|
40 | rm neu_tmp |
---|
Note:
See
TracBrowser
for help on using the repository browser.