plot,echosounder-method {oce} | R Documentation |
Plot an echosounder Object
Description
Plot echosounder data.
Simple linear approximation is used when a newx
value is specified
with the which=2
method, but arguably a gridding method should be
used, and this may be added in the future.
Usage
## S4 method for signature 'echosounder'
plot(
x,
which = 1,
beam = "a",
newx,
xlab,
ylab,
xlim,
ylim,
zlim,
type = "l",
col,
lwd = 2,
despike = FALSE,
drawBottom,
ignore = 5,
drawTimeRange = FALSE,
drawPalette = TRUE,
radius,
coastline,
mgp = getOption("oceMgp"),
mar = c(mgp[1], mgp[1] + 1.5, mgp[2] + 1/2, 1/2),
atTop,
labelsTop,
tformat,
debug = getOption("oceDebug"),
...
)
Arguments
x |
an echosounder object. |
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 color scale. |
type |
type of graph, |
col |
a function providing the color scale for image plots.
This value is passed to |
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 |
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 |
Value
A list is silently returned, containing xat
and yat
,
values that can be used by oce.grid()
to add a grid to the plot.
Author(s)
Dan Kelley, with extensive help from Clark Richards
See Also
Other things related to echosounder data:
[[,echosounder-method
,
[[<-,echosounder-method
,
as.echosounder()
,
echosounder-class
,
echosounder
,
findBottom()
,
read.echosounder()
,
subset,echosounder-method
,
summary,echosounder-method
Examples
library(oce)
data(echosounder)
plot(echosounder, drawBottom = TRUE)