Plot Lomb-Scargle Periodogram
Plots the normalised power as a function of frequency (or period, depending on type in function lsp).
## S3 method for class 'lsp' plot(x, type = "l", main = "Lomb-Scargle Periodogram", xlab = NULL, ylab = "normalised power", level = TRUE, log = NULL, ...)
x |
Object of class lsp as returned from function lsp. |
type |
Character indicating the type of plotting. Any of the types as in plot.default. |
main |
Character. Main title of the periodogram plot. Defaults to “Lomb-Sargle Periodogram”. |
xlab |
Character. X-axis label of the periodogram plot. |
ylab |
Character. Y-axis label of the periodogram plot. |
level |
Logical. If TRUE, the siginificance level is displayed as a dashed line. |
log |
By default, periodgrams of type=“period” are shown with a log x-axis. If desired otherwise, use log=“..” to define log-axis as in plot.default |
... |
Additional graphics parameters |
Usually, this function is only called by function lsp. It maybe called by the user for some control of the ouput. For better control, plot results from lsp ($scanned, $power) as desired.
Invisibly returns the object of class lsp it is called with.
Thomas Ruf thomas.ruf@vetmeduni.ac.at
data(ibex) ibex.spec <- lsp(ibex[,2:3],type='period',from=12,to=36,ofac=10, plot=FALSE) op <- par(pch=16) plot.lsp(ibex.spec, main="Periodogram of daily rhythms of Tb in Capra ibex", cex.lab=1.3,log="", type="b",level=FALSE,xaxt="n") axis(side=1,at=seq(12,36,by=6)) par(op)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.