View source: R/fcwtr_scalogram.R
plot.fcwtr_scalogram | R Documentation |
Plots the scalogram resulting from fcwt()
.
Requires ggplot2.
## S3 method for class 'fcwtr_scalogram'
plot(x, n = 1000, ...)
x |
An object resulting from |
n |
The plotting function reduces the time resolution by averaging
to generate a reasonable graphics format. |
... |
other arguments passed to specific methods |
No return value, called for side effects.
ts_sin_440 <- sin((1:4410) * 2 * pi * 440 / 44100)
res <-
fcwt(
ts_sin_440,
sample_freq = 44100,
freq_begin = 50,
freq_end = 1000,
n_freqs = 10,
sigma = 5
)
plot(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.