powered by
Generates an axis for day of year or day of water year; used by ch_regime_plot. Obtaining the day of water year needs to be done separately.
ch_regime_plot
ch_axis_doy(wyear = 1)
Plots a water year axis on a standard R plot
Month of beginning of water year, wyear = 1 (the default) for calendar year, wyear = 10 to start October 1.
wyear = 1
wyear = 10
Paul Whitfield
a <- seq(1, 365) b <- runif(365) plot(a, b, type = "p", xlab = "", xaxt = "n") ch_axis_doy(wyear = 10) # starts in October
Run the code above in your browser using DataLab