
This function plots a line graph of the spectrum of a seismic signal.
plot_spectrum(data, unit = "dB", n = 10000, ...)
A line plot.
eseis
object or data frame
with two elements,
frequency
vector and spectrum
vector.
Character
value. One out of "linear"
,
"log"
, "dB"
. Default is "dB"
.
Numeric
value, number of values to which the dataset
is reduced. Default is 10000
.
Further arguments passed to the plot function.
Michael Dietze
signal_spectrum
## load example data set
data(rockfall)
## calculate spectrum
spectrum_rockfall <- signal_spectrum(data = rockfall_eseis)
## plot data set with lower resolution
plot_spectrum(data = spectrum_rockfall)
Run the code above in your browser using DataLab