View source: R/rendering_and_plotting.R
HHTPackagePlotter | R Documentation |
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())
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 |
INTERNAL
Daniel Bowman danny.c.bowman@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.