Preparing for plotting the sensor data. wip.