grd.box.ts {clim.pact} | R Documentation

## Grid box time series

### Description

Plots time series from field objects, eg from `retrieve.nc`. Uses a bilinear interpolation scheme (`link{interp}`) from the `akima` package.

### Usage

    grd.box.ts(x,lon,lat,what="abs",greenwich=TRUE,mon=NULL,
                           col="grey10",lwd=1,lty=1,pch=26,add=FALSE,
                           filter=NULL,type="s",main=NULL,sub=NULL,xlab=NULL,ylab=NULL)

### Arguments

`x` | A field object.
`lon` | Longitude to plot.
`lat` | Latitude to plot.
`what` | What to draw: "ano"-> anomalies, "cli"-> climatological values, "abs" -> absolute values.
`greenwich` | Maps centre on the Greenwich meridian.
`mon` | Month to extract
`col` | Colour.
`lwd` | Line width
`lty` | Line style.
`pch` | Plot character.
`add` | 'TRUE' adds curve to old plot.
`filter` | If not NULL, this is a vector specifying window weighting argument of same name in `link{filter}`.
`type` | same as in plot(), only works for single time series.
`main` | Preset main title (see `plot`).
`sub` | subtitle
`xlab` | x label
`ylab` | y label

### Value

A station object with interpolated values (see `station.obj` and `station.obj.dm`) that can be plotted using eg `plotStation`.

### Author(s)

R.E. Benestad

### Examples

    ## Not run:
    slp <- retrieve.nc("ncep_slp.nc")
    grd.box.ts(slp,0,60,what="ano",mon=1)
    ## End(Not run)

[Package Contents]