Store acceleration data and draw graphs