mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF: useful plotting function
This commit is contained in:
parent
0816642436
commit
d9ef45234b
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cmd="plot "
|
||||||
|
echo $#
|
||||||
|
while [ $# -gt 1 ]; do
|
||||||
|
cmd="$cmd 'plot.dat' using 1:'$1',"
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
cmd="$cmd 'plot.dat' using 1:'$1'"
|
||||||
|
cat <<EOF > _plot.gnu
|
||||||
|
set style data lines
|
||||||
|
set xlabel "time(s)"
|
||||||
|
$cmd
|
||||||
|
pause -1 "hit return to exit"
|
||||||
|
EOF
|
||||||
|
gnuplot _plot.gnu
|
||||||
|
|
Loading…
Reference in New Issue