Merge branch 'master' into telescience-v0.2
[fw/altos] / src / test / plotmicro
1 #!/bin/sh
2 for i in "$@"; do
3 gnuplot -p << EOF &
4 set title "$i"
5 set ylabel "height (m)"
6 set xlabel "time (s)"
7 set xtics border out nomirror
8 set ytics border out nomirror
9 set y2tics border out nomirror
10 plot "$i" using 1:2 with lines lt 2 axes x1y1 title "raw height",\
11      "$i" using 1:3 with lines lt 4 axes x1y1 title "kalman height",\
12      "$i" using 1:4 with lines lt 1 axes x1y1 title "max height"
13 EOF
14 done