plot.tide {oce} | R Documentation |
Plot a summary diagram for a tidal fit.
## S3 method for class 'tide': plot(x, label.if=NULL, plot.type=c("staircase", "spikes"), log="", ...)
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. |
Creates a plot for a "tide
" object. See
tidem
for examples.
Dan Kelley
tidem
fits a "tide
" object, and
summary.tide
summarizes such an object.
library(oce) data(sealevel.hal) tide <- tidem(sealevel.hal) plot(tide)