This method plots a standard Lomb-Scargle periodogram, which contains the
normalized power spectra PSD
and the corresponding false alarm
probability p
. For more details refer to Zechmeister et al. (2009).
# S3 method for lomb
plot(
x,
FAPcol = 1,
FAPlwd = 1,
FAPlty = "dashed",
FAPlim = c(1, 0.001),
FAPlab = "FAP",
legend.pos = "topleft",
legend.cex = 1,
legend.on = T,
legend.text = c("Spectrum", "False Alarm Probability"),
legend.lwd = NULL,
legend.lty = NULL,
legend.col = NULL,
xlab = "Frequency",
ylab = "Normalized PSD",
main = "",
...
)
object of class lomb
color of the FAP line
line width of the FAP line
line type for the FAP graph
limits to the FAP
label of the right vertical axis
position of the legend
cex value for the legend
logical, wheater to draw a legend or not
legend text
line width
line type
color vector of the legend elements
a label for the x axis, defaults to a description of x
.
a label for the y axis, defaults to a description of y
.
setting the title of the plot
further parameters to the plot function
The plot.lomb
function is a wrapper function for R's standard scatter plot
To switch off certain properties, simply overwrite the parameter. For example
log = ""
will reset the plot axis back to non-log scale.
M. Zechmeister and M. Kurster, "The generalised Lomb-Scargle periodogram. A new formalism for the floating-mean and Keplerian periodograms", Astronomy & Astrophysics, 496(2), pp. 577--584, 2009.
# NOT RUN {
# See spec.lomb
# }
Run the code above in your browser using DataLab