Octave script to show data from gyro/acc in real time

A nice toy that shows data from gyro and accelerometer in real time.
Invoke it like this:
cat /dev/ttyACM0 | octave -q gyroacc.m
It will show two 3D plots with a line inside (it is a vector). NOTE: Gyro data
is the angular momentum on this axis.