tuneR (version 1.4.7)

plot-Wspec: Plotting Wspec objects

Description

Plotting a periodogram contained in an object of class Wspec.

Usage

# S4 method for Wspec,missing
plot(x, which = 1, type = "h", xlab = "frequency", 
    ylab = NULL, log = "", ...)

Arguments

x

Object of class Wspec.

which

Integer indicating which of the periodograms contained in object x to plot. Default is to plot the first one.

type

The default is to plot horizontal lines, rather than points. See plot.default for details.

xlab, ylab

Label for x-/y-axis.

log

Character - "x" if the x-axis is to be logarithmic, "y" if the y-axis is to be logarithmic (quite typical for some visualizations of periodograms), and "xy" or "yx" if both axes are to be logarithmic.

...

Further arguments to be passed to the underlying plot functions. See plot.default for details.

See Also

see Wspec, periodogram and tuneR for the constructor function and some examples.