basics: how to plot on/off time series?
Posted: Sat Dec 30, 2017 12:52 pm
i'm new to marplotlib. have worked a bit in the past with indigoplotd and am experimenting...
a few beginner's requests/questions:
a few beginner's requests/questions:
- can someone suggest a simple recipe to plot a time series depicting a device turning on/off (or boolean state) over time? i was a bit surprised not to see any such example in "gallery" page of docs...
- how about depicting multiple devices turning on/off on the same time axis?
- is data in matplotlib always sampled at regular time intervals?
- also, it appears that csv-engine has a fixed/constant sample interval (5mins) is that correct?
- is it possible to just plot from a sparse set of on/off events?
- anyone tried interfacing matplotlib with sql-logger plugin ... or am somehow i barking up the wrong tree here?