+1

Real-time plotting and scrolling

mike 4 years ago in API • updated 4 years ago 0
Hello, 

I'm trying to do something pretty basic for few days without much of success.

I'm getting data at rate 100 Hz - every 5 seconds I want to scroll the graph and discard the 500 old points. In other words, I want to show only 5 seconds worth of data at any given point and scroll the graph. I tried several methods, increasing only the maximum and minimum of the x Axis, using translate/pan with X axis offset as shown somewhere here in the forum.
Everything pretty much failed - it looks like it works for few seconds and then the scrolling is lagging behind the plotting for some reason. This kind of scenario should be super simple...  any help will be appreciated.

Thanks,
Mike