plot.tide {oce}R Documentation

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. If a large number of constituents is being used, the staircase style can be simpler to read at a glance.
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.

Author(s)

Dan Kelley

See Also

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

Examples

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

[Package oce version 0.1-76 Index]