Display historical average

I would like to calculate and graph the average of a time series for the time of the day over the last week or two. So for example, If for the last week it was 50 degrees outside at noon, and today it is 60 at noon, I would like to see a line showing the usual temp to plot against the actual temp.

Thanks so much!