hidden {climate.plot}R Documentation

Get labels for seasonal graphs

Description

Get title and x-axis labels for seasonal graphs.

Usage

.seasxlab(width)
.seastitle(main=NULL, id=NULL, name=NULL, orig=NULL, fun=NULL,
  range=NA, show.range=TRUE, show.id=TRUE, style=1)

Arguments

width size of bin; see mkfact
main main title of plot; overrides any other title, but appends year range if show.range=TRUE
id station ID, which is used to fetch a station name using getstnname
name a name, which is used in preference to the name retrieved from getstnname
orig original object name, which is used if no other name can be found from id or name
fun function, if applicable
range year range in the format c( start , end ) years
show.range logical
show.id logical
style specific styles of presentation, currently only 1 and 2

Details

These functions are called by the seasonal plot functions in climate.plot for consistent display of title, and x-axis labels. These functions are ready to have translations for non-English languages built into them.

Value

.seasxlab returns a character label.
.seastitle returns a list.

Author(s)

M.W. Toews

See Also

getstnname

Examples

.seasxlab(11)
.seasxlab("mon")

data(mscdata)
plot.seas.temp(mscdata, width="mon",  id=1108447, style=1)
plot.seas.temp(mscdata, width=365/12, id=1108447, style=2)

[Package climate.plot version 0.1-2 Index]