Description Usage Arguments Details References See Also Examples
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).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## S3 method for class '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 = "",
...
)
|
x |
object of class |
FAPcol |
color of the FAP line |
FAPlwd |
line width of the FAP line |
FAPlty |
line type for the FAP graph |
FAPlim |
limits to the FAP |
FAPlab |
label of the right vertical axis |
legend.pos |
position of the legend |
legend.cex |
cex value for the legend |
legend.on |
logical, wheater to draw a legend or not |
legend.text |
legend text |
legend.lwd |
line width |
legend.lty |
line type |
legend.col |
color vector of the legend elements |
xlab |
a label for the x axis, defaults to a description of |
ylab |
a label for the y axis, defaults to a description of |
main |
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.
1 | # See spec.lomb
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.