Corrected function

Corrected function to be an average across days. Added title and x-axis
label.