Usage
## S3 method for class 'tidem':
plot(x, label.if=NULL,
plot.type=c("staircase", "spikes"),
log="",
mgp=getOption("oce.mgp"),
mar=c(mgp[1]+1,mgp[1]+1,mgp[2]+0.25,mgp[2]+1),
...)
Arguments
x
a tidem
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
character string indicating the plot type. The
"staircase"
style shows a cumulative representation, in which
rising portions indicate the energy in the tidal constituents. The
"spike"
style is in the more convention
log
if set to "x
", the frequency axis will be
logarithmic.
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.