Advanced Plotting Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to clear/refresh a plot in a loop?

I'm trying to make a real time control chart that only displays the last 30 data points. Is there a way to refresh the plot?

0 Kudos
Message 1 of 3
(6,133 Views)

I was able to do this by creating new plot for each refresh.  This ran flat out at about 130ms loop rate, so it's not for fast updates.

Refresh Sample.png

0 Kudos
Message 2 of 3
(5,811 Views)

Are there any other ways to clear a graph without closing and created a new plot as suggested here?
I'm managing 2d matrix of plots and it take tens of seconds to use this tricks 😞

0 Kudos
Message 3 of 3
(3,916 Views)