plot15: Makes 15 graphs of streamflow statistics on a single page....

View source: R/plot15.R

plot15R Documentation

Makes 15 graphs of streamflow statistics on a single page. These encompass the 7-day minimum, mean, and 1-day maximum for each of the following 5 Periods of Analysis: Annual, Fall, Winter, Spring and Summer.

Description

Part of flowHistory system. All results are expressed as runoff (mm/day). The individual plots are constructed by the same method as used in plotFlowSingle. The annual results are based on the Water Year. The seasons are defined as the following groups of months: SON, DJF, MAM, JJA.

Usage

plot15(eList, yearStart, yearEnd)

Arguments

eList

named list with at least the Daily and INFO dataframes

yearStart

A numeric value for year in which the graph should start, default is NA, which indicates that the graph should start with first annual value

yearEnd

A numeric value for year in which the graph should end, default is NA, which indicates that the graph should end with last annual value

Details

For formatting purposes it is best to use the following commands before calling the plot15 function (savePath is the pathname for directory to store the output) # plotName <- paste(savePath, "plot15.", eList$INFO$shortName, ".ps", sep = "") # postscript(file = plotName, width = 8, height = 10, horizontal = FALSE, family = "Helvetica") Then after running plot15, the user needs to give the command dev.off()

See Also

plot1of15

Examples

eList <- Choptank_eList

plot15(eList, yearStart = 1980, yearEnd = 2010)
dev.off()


EGRET documentation built on April 18, 2023, 5:09 p.m.