I've already made a wxpython based solution to plot real-time data on plots
(using matplotlib). Basically there is a timer for redrawing data (that is
appended to by another thread), and when it redraws it does:
timestamp = time.time()
# add to x, y datasets
# update plot bounds
self.axes_vehicle_speed.set_xbound(lower=(timestamp - 10.0),
# add data
However how do I add another y dataset to the same plot
"self.axes_vehicle_speed" in say blue?
I know about the common methods as outlined in:
However they will not work for live plotting. Any ideas?
View this message in context: http://old.nabble.com/Live-(real-time)-plotting-two-data-sets-on-the-same-graph-tp32932476p32932476.html
Sent from the matplotlib - users mailing list archive at Nabble.com.