plot.adv {oce} | R Documentation |
Plot ADV data.
## S3 method for class 'adv': plot(x, which=1:3, titles, adorn=NULL, draw.time.range=getOption("oce.draw.time.range"), mgp=getOption("oce.mgp"), mar=c(mgp[1],mgp[1]+1,1,1), margins.as.image=FALSE, cex=1, ylim, debug=getOption("oce.debug"), ...)
x |
an adv object, e.g. as read by read.adv . |
which |
list of desired plot types. These are graphed in
panels running down from the top of the page. See
“Details” for the meanings of various values of
which . |
titles |
optional vector of character strings to be used as
labels for the plot panels. For images, these strings will be
placed in the right hand side of the top margin. For timeseries,
these strings are ignored.
If this is provided, its length must equal that of which . |
adorn |
optional list of expression s to be performed
immediately after drawing the panels. (See plot.adp for
an example.) |
draw.time.range |
boolean that applies to panels with time as the horizontal axis, indicating whether to draw the time range in the top-left margin of the 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") . |
margins.as.image |
boolean, TRUE to put a wide margin to the
right of time-series plots, matching the space used up by a palette
in an imagep plot. |
cex |
value for the character-expansion parameter, used by par("cex") . |
ylim |
optional 2-element list for ylim , or 2-column matrix (in which case
the rows are used, in order, for the panels of the graph. |
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. |
Creates a multi-panel summary plot of data measured by an ADV.
The panels are controlled by the which
argument.
which=1
yields a timeseries of the x component of velocity.
which=2
yields a timeseries of the y component of velocity.
which=3
yields a timeseries of the z component of velocity.
which=14
yields a timeseries of temperature.
which=15
yields a timeseries of pressure.
which=16
yields a timeseries of heading.
which=17
yields a timeseries of pich.
which=18
yields a timeseries of roll.
Dan Kelley
See read.adv
for notes on functions relating to
"adv"
objects.
## Not run: library(oce) adv <- read.adv("~/data/sleiwex-archive/2008/mooring/m6/autopod/day183/SL08A183.015", sampling.start=as.POSIXct("2008-07-01 15:00:00", tz="UTC"), deltat=0.1) plot(adv) ## End(Not run)