ANYbotics / rqt_multiplot_plugin

An rqt plugin for visualizing numeric values in multiple 2D plots.
GNU Lesser General Public License v3.0
125 stars 41 forks source link

Bar graph emulation #37

Open Riconec opened 5 years ago

Riconec commented 5 years ago

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?