plot,echosounder-method {oce} | R Documentation |
Plot echosounder data.
Simple linear approximation is used when a newx
value is specifie
with the which=2
method, but arguably a gridding method should be
used, and this may be added in the future.
## S4 method for signature 'echosounder' plot(x, which = 1, beam = "a", newx, xlab, ylab, xlim, ylim, zlim, type = "l", col = oce.colorsJet, lwd = 2, despike = FALSE, drawBottom, ignore = 5, drawTimeRange = FALSE, drawPalette = TRUE, radius, coastline, adorn = NULL, mgp = getOption("oceMgp"), mar = c(mgp[1] + 1, mgp[1] + 1, mgp[1] + 1, mgp[1] + 1), atTop, labelsTop, tformat, debug = getOption("oceDebug"), ...)
x |
An |
which |
list of desired plot types: |
beam |
a more detailed specification of the data to be plotted. For
single-beam data, this may only be |
newx |
optional vector of values to appear on the horizontal axis if
|
xlab, ylab |
optional labels for the horizontal and vertical axes; if
not provided, the labels depend on the value of |
xlim |
optional range for x axis. |
ylim |
optional range for y axis. |
zlim |
optional range for colour scale. |
type |
type of graph, |
col |
colour scale for image, a function |
lwd |
line width (ignored if |
despike |
remove vertical banding by using |
drawBottom |
optional flag used for section images. If |
ignore |
optional flag specifying the thickness in metres of a surface
region to be ignored during the bottom-detection process. This is ignored
unless |
drawTimeRange |
if |
drawPalette |
if |
radius |
radius to use for maps; ignored unless |
coastline |
coastline to use for maps; ignored unless |
adorn |
(Defunct)
An |
mgp |
3-element numerical vector to use for |
mar |
value to be used with |
atTop |
optional vector of time values, for labels at the top of the
plot produced with |
labelsTop |
optional vector of character strings to be plotted above
the |
tformat |
optional argument passed to |
debug |
set to an integer exceeding zero, to get debugging information during processing. |
... |
optional arguments passed to plotting functions. For example,
for maps, it is possible to specify the radius of the view in kilometres,
with |
A list is silently returned, containing xat
and yat
,
values that can be used by oce.grid
to add a grid to the plot.
Dan Kelley, with extensive help from Clark Richards
Other things related to echosounder
data: [[,echosounder-method
,
[[<-,echosounder-method
,
as.echosounder
,
echosounder-class
,
echosounder
, findBottom
,
read.echosounder
,
subset,echosounder-method
,
summary,echosounder-method
## Not run: library(oce) data(echosounder) plot(echosounder, which=c(1,2), drawBottom=TRUE) ## End(Not run)