cm (current meter) data## S3 method for class 'cm':
plot(x,
which=1:2,
type="l",
adorn=NULL,
draw.time.range=getOption("oce.draw.time.range"),
draw.zero.line=FALSE,
mgp=getOption("oce.mgp"),
mar=c(mgp[1]+1.5,mgp[1]+1.5,1.5,1.5),
small=2000,
debug=getOption("oce.debug"),
...)cm object, e.g. as read by read.cm.which.plot.expressions to be performed
immediately after drawing the panels. (See plot.adp for
an example.)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.par("mar").plot function. Data sets with more than
small points will bewhich
argument, as follows.
which=1orwhich="u"for a time-series graph of
eastward velocity,u, as a function of time.which=2orwhich="v"for a time-series graph of
northward velocity,u, as a function of time.which=3or"progressive vector"for
progressive-vector plotwhich=4or"uv"for a plot ofvversusu. (Dots are used for small datasets, and smoothScatter for
large ones.)which=5or"uv+ellipse"as the"uv"case, but with an added indication of the tidal ellipse,
calculated from the eigen vectors of the covariance matrix.which=6or"uv+ellipse+arrow"as the"uv+ellipse"case, but with an added arrow indicating the
mean current.read.cm for notes on functions relating to
"cm" objects.library(oce)
cm <- read.oce("cm_interocean_0811786.s4a.tab")
summary(cm)
plot(cm)Run the code above in your browser using DataLab