accelerometer and magnetic field plot data