Creates a plot for a sea-level dataset, in one of two varieties. If a focus.time
is provided, then the plot is a simple time
series extending between the two times.
If a focus.time
is not not provided, then a multi-panel display
is drawn. The top panel shows the entire timeseries; since this
typically extends over a year, the graph mainly shows low-frequency
modulations of the tide, such as spring-neap cycles. The second panel
focusses on the first month of data, providing a quick visual signal
as to the nature of the tide, e.g. mainly semidiurnal, mainly diurnal,
or mixed. In both of these panels, the sealevel is plotted as an
anomaly in excess of the mean over the whole timeseries. This mean
value is indicated in the right-hand margin. If the sealevel series
contains missing values, then only these two panels are
drawn. However, if it has no missing values, then two spectral
representations are also drawn. The first of these is a power
spectrum, with some common tidal constituents being indicates with
lines and labels. The units are $m^2$ per cycle-per-day. The
second, and thus the lower of the four panels, is a cumulative graph
of the square root of the power spectrum. The unit for this graph is
$m$, so that the step for each tidal constituent may be
interpreted as the amplitude of that constituent, and the largest
value on the graph gives the standard deviation of sealevel height.