summaryrefslogtreecommitdiff
path: root/src/test/plotmicro
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-16 15:22:46 -0800
committerKeith Packard <keithp@keithp.com>2013-01-16 15:22:46 -0800
commita04c4f7b07e97d568f8f6f56dd363329817fb52c (patch)
treef910404d47850c6e7022b8fc3f87292b2b2b6d53 /src/test/plotmicro
parent0c2fa9614ffe22901ba0fd089e1e02c362f9fbe0 (diff)
parentbd84dfd8e53d8939281993e062015f67c0dd9fa2 (diff)
Merge branch 'master' into telescience-v0.2
Diffstat (limited to 'src/test/plotmicro')
-rwxr-xr-xsrc/test/plotmicro14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/plotmicro b/src/test/plotmicro
new file mode 100755
index 00000000..cdfcc581
--- /dev/null
+++ b/src/test/plotmicro
@@ -0,0 +1,14 @@
+#!/bin/sh
+for i in "$@"; do
+gnuplot -p << EOF &
+set title "$i"
+set ylabel "height (m)"
+set xlabel "time (s)"
+set xtics border out nomirror
+set ytics border out nomirror
+set y2tics border out nomirror
+plot "$i" using 1:2 with lines lt 2 axes x1y1 title "raw height",\
+ "$i" using 1:3 with lines lt 4 axes x1y1 title "kalman height",\
+ "$i" using 1:4 with lines lt 1 axes x1y1 title "max height"
+EOF
+done