Learn R Programming

oce (version 1.8-3)

plot,xbt-method: Plot an xbt Object

Description

Plots data contained in an xbt object.

Usage

# S4 method for xbt
plot(
  x,
  which = 1,
  type = "l",
  mgp = getOption("oceMgp"),
  mar,
  debug = getOption("oceDebug"),
  ...
)

Arguments

x

an xbt object.

which

list of desired plot types; see “Details” for the meanings of various values of which.

type

type of plot, as for plot().

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

a flag that turns on debugging. Set to 1 to get a moderate amount of debugging information, or to 2 to get more.

...

optional arguments passed to plotting functions.

Author

Dan Kelley

Details

The panels are controlled by the which argument, with choices as follows.

  • which=1 for a temperature profile as a function of depth.

  • which=2 for a soundSpeed profile as a function of depth.

See Also

Other functions that plot oce data: download.amsr(), 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,landsat-method, plot,lisst-method, plot,lobo-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 xbt data: [[,xbt-method, [[<-,xbt-method, as.xbt(), read.xbt(), read.xbt.noaa1(), subset,xbt-method, summary,xbt-method, xbt, xbt-class, xbt.edf

Examples

Run this code
library(oce)
data(xbt)
summary(xbt)
plot(xbt)

Run the code above in your browser using DataLab