[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] How to plot time series over weekly / monthly data



On 2020-07-28 14:30, Andreas Tille wrote:
Hi,

its a bit off topic here but I hope to get some links.  For my talk at
DebConf Online I want to analyse contributions on a monthly or weekly
base and plot graphs (either with gnuplot or R - whatever I can find an
easier solution with).  I can generate the data from a postgresql
database in whatever sensible input format is needed.  I failed to
seek successfully for examples for plotting integer numbers over months
or weeks of several years.

Any hints?


Haven't run it myself, but matplotlib has plot_date()
https://saralgyaan.com/posts/plot-time-series-in-python-matplotlib-tutorial-chapter-8/
https://preinventedwheel.com/easy-python-time-series-plots-with-matplotlib/

Pandas might make it easier still,
https://pandas.pydata.org/pandas-docs/version/0.13/visualization.html

Pandas is awesome for handling real-world data (including gappy data points)

Drew


Reply to: