plotStation {clim.pact} | R Documentation

## Plots monthly station records.

### Description

Plots data in the monthly station records. The data may be read through getnacd, getnordklim, getdnmi, or created using station.obj. The commands avail.elem, avail.locs can be used to identify the station records available (in a given subdirectory).

### Usage

    plotStation(obs,l.anom=TRUE,mon=NULL,
                            leps=FALSE,out.dir="output",what="b",trend=TRUE,
                            type="l",pch=26,col="black",lwd=3,lty=3,add=FALSE,
                            main=NULL,sub=NULL,xlab=NULL,ylab=NULL)

### Arguments

`obs` | A climate station series.
`l.anom` | flag: T -> plot anomalies.
`mon` | select month to plot, A value of 0 plots all months. mon=c(12,1,2) plots the DJF mean.
`leps` | Flag: T -> produce EPS files (hard copy).
`out.dir` | Directory where to store hard copies.
`what` | "t"=timeseries; "d"=distribution; "b"=both.
`trend` | show best-fit polynomial (5th order) trend
`type` | same as in `link{plot}`.
`pch` | same as in `link{plot}`.
`col` | colour, same as in `link{plot}`.
`lwd` | line width, same as in `link{plot}`.
`lty` | line type, same as in `link{plot}`.
`add` | TRUE adds a time series to previous (see `link{grd.box.ts}`).
`main` | Preset main title (see `plot`).
`sub` | subtitle
`xlab` | x label
`ylab` | y label

### Value

a <- list of "monthly.station.record" class:

val | The monthly values (a 12-column matrix with one column for each year).
station | station number.
yy | The years of observation (vector).
lat,lon | Latitude and longitude of the location.
x.0E65N,y.0E65N | Distance in km from 0E, 65N.
location | Name of location .
wmo.no | WMO number.
start | Start of observatins from this location.
yy0 | First year in current record.
ele | Code of theelement.
obs.name | Name of the element.
unit | Unit of the element.
country | The country in which the location is located.
quality | Code/description for data quality.
found | Flag: T - the data requested was found.
ref | Reference for the data set.

### Author(s)

R.E. Benestad

### Examples

    ## Not run:
    data(tromsoe.t2m)
    plotStation(tromsoe.t2m)
    ## End(Not run)

[Package Contents]