plot,lobo-method {oce} | R Documentation

## Plot LOBO data

### Description

Plot a summary diagram for lobo data.

### Usage

    ## S4 method for signature 'lobo'
    plot(x, which = c(1, 2, 3), adorn = NULL,
      mgp = getOption("oceMgp"), mar = c(mgp[2] + 1, mgp[1] + 1, 1, mgp[1] +
      1.25), debug = getOption("oceDebug"), ...)

### Arguments

`x` | A `lobo` object, e.g. as read by `read.lobo`.

`which`

A vector of numbers or character strings, indicating the quantities to plot. These are stacked in a single column. The possible values for `which` are as follows: `1` or `"temperature"` for a time series of temperature; `2` or `"salinity"` for salinity; `3` or `"TS"` for a TS diagram (which uses `eos="unesco"`), `4` or `"u"` for a timeseries of the u component of velocity; `5` or `"v"` for a timeseries of the v component of velocity; `6` or `"nitrate"` for a timeseries of nitrate concentration; `7` or `"fluorescence"` for a timeseries of fluorescence value.

`adorn`

(Defunct) An `expression` or vector of expressions that contain R code that is to be executed immediately after each panel of the plot. If the number of expressions matches the number of panels, then the expressions are used for the corresponding panels; otherwise, the expression list is extended to match the number of panels (i.e. to obtain `length(which)` elements). Note that `adorn` is a dangerous argument, because if the expressions contained therein set up local storage, there is a chance of entirely disrupting the plotting. For this reason, `adorn` was marked as defunct in June 2016, and will be removed entirely after the July CRAN release. Users with existing code that uses `adorn` should simply plot the panels individually, and use conventional R functions, e.g. `lines` etc., after each panel, to achieve the desired effect. (See `oce-defunct` for notes on other deprecated or defunct `oce` features.)

`mgp` | 3-element numerical vector to use for `par(mgp)`, and also for `par(mar)`, computed from this. The default is tighter than the R default, in order to use more space for the data and less for the axes.
`mar` | value to be used with `par("mar")`.

`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. If one function calls another, it usually reduces the value of `debug` first, so that a user can often obtain deeper debugging by specifying higher `debug` values.

`...` | optional arguments passed to plotting functions.

### 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,met-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 `lobo` data: `[[,lobo-method`, `[[<-,lobo-method`, `as.lobo`, `lobo-class`, `lobo`, `subset,lobo-method`, `summary,lobo-method`

[Package oce version 0.9-22 Index]