plot,met-method {oce} | R Documentation

## Plot Met Data

### Description

Creates a multi-panel summary plot of data measured in a meteorological data set. cast. The panels are controlled by the `which` argument. Normally, 4 panels are specified with the `which`, but it can also be useful to specify less than 4 panels, and then to draw other panels after this call.

### Usage

    ## S4 method for signature 'met'
    plot(x, which = 1:4, mgp = getOption("oceMgp"),
      mar = c(mgp[1] + 1, mgp[1] + 1, mgp[1] + 1, mgp[1] + 1), tformat,
      debug = getOption("oceDebug"), ...)

### Arguments

`x` | A `met` object, e.g. as read by `read.met`, or a list containing items named `salinity` and `temperature`.

`which`

list of desired plot types.

- `which=1` gives a time-series plot of temperature

- `which=2` gives a time-series plot of pressure

- `which=3` gives a time-series plot of the x (eastward) component of velocity

- `which=4` gives a time-series plot of the y (northward) component of velocity

`mgp` | A three-element numerical vector to use for `par(mgp)` to control spacing of axis elements. The default is tighter than the R default, in order to use more space for the data and less for the axes.
`mar` | A four-element numerical vector to be used with `par("mar")`.
`tformat` | optional argument passed to `oce.plot.ts`, for plot types that call that function. (See `strptime` for the format used.)
`debug` | an integer specifying whether debugging information is to be printed during the processing. This is a general parameter that is used by many `oce` functions. Generally, setting `debug=0` turns off the printing, while higher values suggest that more information be printed.
`...` | optional arguments passed to plotting functions.

### Details

If more than one panel is drawn, then on exit from `plot.met`, the value of `par` will be reset to the value it had before the function call. However, if only one panel is drawn, the adjustments to `par` made within `plot.met` are left in place, so that further additions may be made to the plot.

### Author(s)

Dan Kelley

### See Also

Other functions that plot `oce` data: `plot,adp-method`, `plot,adv-method`, `plot,amsr-method`, `plot,argo-method`, `plot,bremen-method`, `plot,cm-method`, `plot,coastline-method`, `plot,ctd-method`, `plot,gps-method`, `plot,ladp-method`, `plot,lisst-method`, `plot,lobo-method`, `plot,odf-method`, `plot,rsk-method`, `plot,satellite-method`, `plot,sealevel-method`, `plot,section-method`, `plot,tidem-method`, `plot,topo-method`, `plot,windrose-method`, `plotProfile`, `plotScan`, `plotTS`, `tidem-class`

Other things related to `met` data: `[[,met-method`, `[[<-,met-method`, `as.met`, `met-class`, `met`, `read.met`, `subset,met-method`, `summary,met-method`

### Examples

    library(oce)
    data(met)
    plot(met, which=3:4)

[Package oce version 0.9-20 Index]