Chris Green <[email protected]> writes: > I'm looking for a program to do simple chart plotting, e.g. I have > some voltage measurements taken (say) once a minute and I want to > display how the voltage varies over (say) a day. So that's 1440 > measurements. > > This can be web or desktop, all I want is a window with a line drawn > across it really, a scale would be handy and the ability to show more > than one plot (e.g. voltage and current maybe).
I once used the plotly library (from https://dash.plotly.com/) to generate web pages with weather data, just temperature and RH from a cheapo weather station which sends these data once a minute. I assume this is a similar case to yours? It was a trial only, mostly because I never got around to setting up a web server where I could access those plots. One of these days, for sure... All I really did was adapt the show_weather_station.py script at https://github.com/AgriVision/rpi_rtlsdr_weather_station to query my database and generate my plots. Basically I just threw out most of the script and kept the parts that did the temp and RH plots. As I recall, it was surprisingly simple just to mangle that script, without knowing much anything about plotly. The script even includes a handy date range selector. There are some sample plots and explanation at https://www.agri-vision.nl/portal/projects/25-rtl-sdr-based-weather-station-on-raspberry-pi

