plot_ppsd | R Documentation |
The function uses the output of signal_spectrogram()
to plot a
probabilistic power spectral density estimate.
plot_ppsd(data, res = c(500, 500), n, ...)
data |
|
res |
|
n |
|
... |
Additional arguments passed to the plot function. |
Graphic output of a spectrogram.
Michael Dietze
signal_spectrogram
## load example data set
data(rockfall)
## deconvolve data set
r <- signal_deconvolve(data = rockfall_eseis)
## calculate PSD
p <- signal_spectrogram(data = r)
## plot PPSD
plot_ppsd(data = p$PSD)
## plot PPSD with lower resolution, more smoothing and other colour
ppsd_color <- colorRampPalette(c("white", "black", "red"))
plot_ppsd(data = p$PSD,
res = c(200, 200),
n = c(15, 20),
col = ppsd_color(200))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.