HHTPackagePlotter {hht} | R Documentation |
Set up spectrogram figure
Description
Sets up the figure window for HHGramImage
and FTGramImage
.
This is an internal function and will likely never be called by a user
Usage
HHTPackagePlotter(img, trace, amp.span, img.x.lab, img.y.lab,
fit.line = NULL, window = NULL, colormap = NULL, backcol = c(0, 0, 0),
pretty = FALSE, grid = TRUE, colorbar = TRUE, opts = list())
Arguments
img |
Fourier or Hilbert spectrogram image. |
trace |
Time series corresponding to the spectrogram. |
amp.span |
Amplitudes over which to plot. |
img.x.lab |
Specifies the X axis label on the image part of the figure, defaults to "time" |
img.y.lab |
Specifies the Y axis label on the image part of the figure, defaults to "frequency" |
fit.line |
Plots a line corresponding to the IMF sum on the trace, if requested |
window |
The Fourier window length, if applicable |
colormap |
The image color map |
backcol |
The background color of the image (what shows up for pixels with value |
pretty |
Adjusts image axes to have nice values, see the |
grid |
Determines whether to plot grid lines on the spectrogram |
colorbar |
Whether to plot a color bar for amplitude values |
opts |
Other possible options passed from |
Value
INTERNAL
Author(s)
Daniel Bowman danny.c.bowman@gmail.com