Learn R Programming

oce (version 0.9-19)

plot,tidem-method: Plot a Tidem Prediction

Description

Plot a summary diagram for a tidal fit.

Usage

"plot"(x, which = 1, labelIf = NULL, log = "", mgp = getOption("oceMgp"), mar = c(mgp[1] + 1, mgp[1] + 1, mgp[2] + 0.25, mgp[2] + 1), ...)

Arguments

x
A tidem object, i.e. one inheriting from tidem-class.
which
integer flag indicating plot type, 1 for stair-case spectral, 2 for spike spectral.
labelIf
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.
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.

See Also

Other functions that plot oce data: plot,adp-method, plot,adv-method, plot,amsr-method, plot,argo-method, plot,bremen-method, plot,cm-method, plot,coastline-method, plot,ctd-method, plot,gps-method, plot,ladp-method, plot,lisst-method, plot,lobo-method, plot,met-method, plot,odf-method, plot,rsk-method, plot,satellite-method, plot,sealevel-method, plot,section-method, plot,topo-method, plot,windrose-method, plotProfile, plotScan, plotTS, tidem-class

Other things related to tidem data: [[,tidem-method, [[<-,tidem-method, predict.tidem, summary,tidem-method, tidedata, tidem-class, tidemAstron, tidemVuf, tidem

Examples

Run this code
## Not run: 
# library(oce)
# data(sealevel)
# tide <- tidem(sealevel)
# plot(tide)
# ## End(Not run)

Run the code above in your browser using DataLab