Scrolling Plot Display


I am planning to build simple simulation of a system I am working on. The system has an input signal which varies between 0 and 100 and the out put in the input with some maths applied to it. I would like to plot the output on the same scrolling graph.
The graph will update every 0.5s and the x-axis will contain the last 200 data points.

Can anyone point me at an example? or give any help?

Hi there,

For a chart like this that updates every few seconds, a streaming plot would be your answer. You can find a good for tutorial for this on this page. It will walk you through how to get it all set up and the rest should be self explanatory from there.

Let me know if you have more questions about your specific example once you get the streaming API up and running.


1 Like