plot.seas.norm {climate.plot}R Documentation

Plot seasonal normal of a variable, including precipitation normals

Description

Plots a “normal” of a seasonal variable, including a precipitation normal (which shows rain and snow fractions, where available). Significant missing data values are also indicated.

Usage

## S3 method for class 'seas.norm':
plot(x, maxy, varwidth=FALSE, normwidth=FALSE,
                show.na=TRUE, leg, add.alt=FALSE, ...)

Arguments

x a seas.norm object created by either seas.norm or precip.norm
maxy maximum y-axis for plot
varwidth logical; varies the width of each bar directly proportional to the frequency of active days (defined by a threshold); the value is normalized according to the next argument
normwidth normalizes the width of the bars to a fixed numeric value (in days), or the maximum value if given TRUE; the default FALSE value normalizes each bar to the number of potentially active days
show.na logical; indicates if NAs should be displayed (as red lines on bottom) or not
leg if TRUE shows a legend summary of the statistics in the upper left hand corner; if "locator" you can manually place the legend by clicking on the active graphics device
add.alt logical; adds imperial units on the right-hand y-axis
... other arguments passed to .seastitle for title style, and other customizations to the appearance

Details

The varwidth variable is useful for separating different precipitation patterns throughout the season. It changes the width of the bar proportional to the frequency of precipitation events within the bin. Ideally, the bars will be tall and narrow with intense storms that occur seldomly, such as convective storms. Conversely the bars will be broader with less-intense rainfall events occurring more often.

Author(s)

M.W. Toews

See Also

seas.norm, precip.norm, seas.sum

Examples

data(mscdata)

d.ss <- seas.sum(mscdata, id=1108447)
d.nm <- precip.norm(d.ss, fun="mean")
plot(d.nm)

[Package climate.plot version 0.1-2 Index]