Learn R Programming

oce (version 0.1-76)

plot.tide: Plot a tidal fit

Description

Plot a summary diagram for a tidal fit.

Usage

## S3 method for class 'tide':
plot(x, label.if=NULL, plot.type=c("staircase", "spikes"), log="", ...)

Arguments

x
a tide object, as created by tidem.
label.if
if NULL, the function will indicate some particular tidal constituents; if a value is provided, labels will be given for any constituent with amplitude exceeding the value provided.
plot.type
the type for the plot. The staircase style shows a cumulative representation, in which the heights of the rising portions indicates the energy in the constituents. The spike style is in the more conventional spectral form.
log
if set to "x", the frequency axis will be logarithmic.
...
optional arguments passed to plotting functions.

Details

Creates a plot for a "tide" object. See tidem for examples.

See Also

tidem fits a "tide" object, and summary.tide summarizes such an object.

Examples

Run this code
library(oce)
data(sealevel.hal)
tide <- tidem(sealevel.hal)
plot(tide)

Run the code above in your browser using DataLab