This example highlights the use of the pace processor to provide simulated live playback of data.
The first example shows historical data instantly, with live data streaming in. The second example uses pace to playback all of the data, with historical data playing back at 4x original speed.
- Line 13: Change the -x 4 to -x [some other number] to see how you can control playback
- Line 13: add -from :now: to see how pace can timeshift data. In this case the first point shows up as "now" instead of 5 minutes ago.
Make sure you rerun the program after you make changes by clicking the stop button and then the play button.