ch_regime_plot {CSHShydRology}R Documentation

Plots the regime of daily streamflows using quantiles

Description

Produces a regime hydrograph similar to that in the reference. It shows the flow quantiles for each day of the year and the maximum and minimum. Parameters can be set to change colours and set the y-scale to allow plots of same scale to be produced.

Usage

ch_regime_plot(
  DF,
  wyear = 1,
  colour = TRUE,
  mx = 1,
  metadata = NULL,
  quant = c(0.95, 0.9, 0.75, 0.5, 0.25, 0.1, 0.05)
)

Arguments

DF

data frame of daily flow data

wyear

set wyear = 10 for October, water year = 1 for calendar year, can be any month

colour

if TRUE plot is in colour, if FALSE plot is grayscale.

mx

set the maximum y value; if = 1 then maximum value of the flows is used to set

metadata

a data frame of metadata, defaults to HYDAT_list. the y-axis value. The value of mx can be specified to produce a series of plots with the same scale.

quant

quantiles; default is quant = c(0.95,0.9,0.75,0.5,0.25,0.1,0.05). Can be changed but the length must be 7 and the 4th value must be 0.5 (median)

Value

No value is returned; a standard R graphic is created.

Author(s)

Paul Whitfield

References

MacCulloch, G. and P. H. Whitfield (2012). Towards a Stream Classification System for the Canadian Prairie Provinces. Canadian Water Resources Journal 37: 311-332.

Examples

data(CAN05AA008)
ch_regime_plot(CAN05AA008, colour = TRUE, wyear = 1)


[Package CSHShydRology version 1.3.0 Index]