"plot"(x, which = c(1:2, 7:9), type = "l", adorn = NULL, drawTimeRange = getOption("oceDrawTimeRange"), drawZeroLine = FALSE, mgp = getOption("oceMgp"), mar = c(mgp[1] + 1.5, mgp[1] + 1.5, 1.5, 1.5), small = 2000, main = "", tformat, debug = getOption("oceDebug"), ...)
cm
object, e.g. as read by read.cm
.which
.plot
.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.)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
be plotted with smoothScatter
instead.oce.plot.ts
, for plot
types that call that function. (See strptime
for the format
used.)which
argument, as follows.which=1
or which="u"
for a time-series graph of eastward
velocity, u
, as a function of time.
which=2
or which="v"
for a time-series graph of
northward velocity, u
, as a function of time.
which=3
or "progressive vector"
for progressive-vector
plot
which=4
or "uv"
for a plot of v
versus u
.
(Dots are used for small datasets, and smoothScatter for large ones.)
which=5
or "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=6
or "uv+ellipse+arrow"
as the "uv+ellipse"
case, but with an added arrow indicating the mean current.
which=7
or "pressure"
for pressure
which=8
or "salinity"
for salinity
which=9
or "temperature"
for temperature
which=10
or "TS"
for a TS diagram
which=11
or "conductivity"
for conductivity
which=20
or "heading"
for compass heading
oce
data: plot,adp-method
,
plot,adv-method
,
plot,amsr-method
,
plot,argo-method
,
plot,bremen-method
,
plot,coastline-method
,
plot,ctd-method
,
plot,gps-method
,
plot,ladp-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 cm
data: [[,cm-method
,
[[<-,cm-method
, cm-class
,
cm
, read.cm
,
subset,cm-method
,
summary,cm-method
library(oce)
data(cm)
summary(cm)
plot(cm)
Run the code above in your browser using DataLab