ch_axis_doy {CSHShydRology}R Documentation

Generates the x axis beginning on specified day of year

Description

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.

Usage

ch_axis_doy(wyear = 1)

Arguments

wyear

Month of beginning of water year, wyear = 1 (the default) for calendar year, wyear = 10 to start October 1.

Value

Plots a water year axis on a standard R plot

Author(s)

Paul Whitfield

See Also

ch_regime_plot

Examples

a <- seq(1, 365)
b <- runif(365)
plot(a, b,  type = "p", xlab = "", xaxt = "n")
ch_axis_doy(wyear = 10) # starts in October

[Package CSHShydRology version 1.4.0 Index]