plot.echosounder {oce} | R Documentation |
Plot echosounder data
## 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 |
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 |
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 |
list of expressions to be executed for the panels in turn, e.g. to adorn the plots. If the number matches the number of panels, then the strings are applied to the appropriate panels, as they are drawn from top-left to bottom-right. If only a single expression is provided, it is used for all panels. (See “Examples”.) |
mgp |
3-element
numerical vector to use for |
mar |
value to be used with |
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 |
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.
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
The documentation for echosounder-class
explains the
structure of echosounder objects, and also outlines the other functions
dealing with them.
## Not run: library(oce) data(echosounder) plot(echosounder, which=c(1,2), drawBottom=TRUE) ## End(Not run)