plot.seas.norm {seas} | R Documentation |
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.
## S3 method for class 'seas.norm': plot(x, maxy, varwidth=FALSE, normwidth=FALSE, show.na=TRUE, leg, add.alt=FALSE, ...)
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 NA s 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 and
.seascols for title style, colours, and other
customizations to the appearance |
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 infrequently, such as convective storms. Conversely the
bars will be broader with less-intense rainfall events occurring more
frequently.
M.W. Toews
seas.norm
, precip.norm
,
seas.sum
data(mscdata) d.ss <- seas.sum(mscdata, id=1108447) d.nm <- precip.norm(d.ss, fun="mean") plot(d.nm)