Learn R Programming

oce (version 0.2-1)

plot.lobo: Plot lobo data

Description

Plot a summary diagram for lobo data.

Usage

## S3 method for class 'lobo':
plot(x, 
     adorn=NULL,
     mgp=getOption("oceMgp"), 
     mar=c(mgp[2]+1, mgp[1]+1, 1, mgp[1]+1.25),
     ...)

Arguments

x
A lobo object, e.g. as read by read.lobo.
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 onl
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").
...
optional arguments passed to plotting functions.

Value

  • None.

Details

Creates a summary plot for a lobo dataset.

References

http://lobo.satlantic.com/ and http://www.mbari.org/lobo/

See Also

summary.lobo summarizes the information, while read.lobo scans it from a file.

Examples

Run this code
library(oce)
data(lobo)
plot(lobo)
# illustrate adornment
plot(lobo,
     adorn=expression({abline(v=as.POSIXct("2009-03-23 00:00:00"), col="red")}))

Run the code above in your browser using DataLab