altos/test: Add telemega plot helper script
[fw/altos] / src / test / plotmm
1 gnuplot -persist << EOF
2 set ylabel "altitude (m)"
3 set y2label "angle (d)"
4 set xlabel "time (s)"
5 set xtics border out nomirror
6 set ytics border out nomirror
7 set y2tics border out nomirror
8 plot "$1" using 1:3 with lines axes x1y1 title "raw height",\
9 "$1" using 1:9 with lines axes x1y2 title "angle",\
10 "$1" using 1:11 with lines axes x1y2 title "qangle"
11 EOF