I have made the folowing graph with my data using the overlapPlot()
function in R.
I would like to add to shaded areas within the graph showing sunrise and sunset. Sunrise is between 6-7 and sunset between 18-19.
To do this I thought I could use the polygon()
function. However I am not sure how to code the polygon function to do this. Any help would be appreciated.