accelerometer y-axis real-time graphing