Merge branch 'master' of ssh://git.gag.com/scm/git/fw/tmflights
[fw/tmflights] / plot
1 #!/bin/sh
2
3 gnuplot -persist << EOF
4 set terminal postscript color solid
5 set ylabel "altitude (ft)"
6 set y2label "acceleration (g)"
7 set xlabel "time (s)"
8 set xtics border out nomirror
9 set ytics border out nomirror
10 set y2tics border out nomirror
11 plot "$1" using 1:2 with lines axes x1y1,
12      "$1" using 1:3 with lines axes x1y1,
13      "$1" using 1:4 with lines axes x1
14      "$1" using 1:2 with lines axes x1y2,
15      "
16 EOF