Minimal code to zoom, pan a large live plot.
How large the data can be ? Not sure. I tested with 1 milion point, no noticable degrade. The most demanding operation is subsampling the data.
Note that right mouse button is used for panning.
crop.mp4
If you find it useful, consider donating https://paypal.me/34h9wg