Hi everyone,
I want to plot some data in realtime, so at the end new data is added and at the front data is removed.
A perfect job for a deque.
But setSamples does not accept a deque...
So far I used a deque and before replotting, I copied all contents of the deque to a vector.
This works, but it is quite inefficient.
Is there a better way to do this?
Bookmarks