You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to plot array data and to overcome lacking of such functions I did:
created curve for each array index as vertical sticks with 50 pen size
have message with consecutive indexes (e.g from 0 to 15, array of 16 elements) which are constant over time
each curve uses constant index as it's X value
It looks something like this:
| |
| | |
| | | | |
BUT, each time new data come it plots in the same coordinate (since X is fixed for each curve) without clearing previous value (even if I have circular buffer with size of 1). So if I have 50 value it will stay 50 (even if actual data is 10) until bigger value appear. In this case it will become bigger and going back to 50 won't decrease bar size.
Can I somehow clean plot each time new data received?
The text was updated successfully, but these errors were encountered:
I need to plot array data and to overcome lacking of such functions I did:
It looks something like this:
| |
| | |
| | | | |
BUT, each time new data come it plots in the same coordinate (since X is fixed for each curve) without clearing previous value (even if I have circular buffer with size of 1). So if I have 50 value it will stay 50 (even if actual data is 10) until bigger value appear. In this case it will become bigger and going back to 50 won't decrease bar size.
Can I somehow clean plot each time new data received?
The text was updated successfully, but these errors were encountered: