Draw shading rectangles on a plot to indicate nighttime hours. The monitor_timeseriesPlot function uses this function internally when specifying shadedNight = TRUE.

addShadedNight(timeInfo, col = adjustcolor("black", 0.1))

Arguments

timeInfo

dataframe as returned by MazamaTimeSeries::monitor_timeInfo()

col

Color used to shade nights.

Value

No return value, called to add day/night shading to a timeseries plot.