Sets up the figure window for HHGramImage
and FTGramImage
.
This is an internal function and will likely never be called by a user
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())
INTERNAL
Fourier or Hilbert spectrogram image.
Time series corresponding to the spectrogram.
Amplitudes over which to plot.
Specifies the X axis label on the image part of the figure, defaults to "time"
Specifies the Y axis label on the image part of the figure, defaults to "frequency"
Plots a line corresponding to the IMF sum on the trace, if requested
The Fourier window length, if applicable
The image color map
The background color of the image (what shows up for pixels with value NA
)
Adjusts image axes to have nice values, see the pretty
function in the base
package included in R
Determines whether to plot grid lines on the spectrogram
Whether to plot a color bar for amplitude values
Other possible options passed from HHGramImage
and FTGramImage
Daniel Bowman danny.c.bowman@gmail.com