Learn R Programming

tuneR (version 0.2-6)

plot-Wave: Plotting Wave objects

Description

Plotting objects of class Wave.

Usage

## S3 method for class 'Wave,missing':
plot(x, info = FALSE, xunit = c("time", "samples"), 
    ylim = NULL, main = NULL, sub = NULL, xlab = NULL, ylab = NULL, 
    simplify = TRUE, nr = 1500, ...)
    
plot.Wave.channel(x, xunit, ylim, xlab, ylab, main, nr, simplify, ...)

Arguments

x
Object of class Wave.
info
Logical, whether to include (written) information on the Wave object within the plot.
xunit
Character indicating which units are used for setting up user coodinates (see par) and x-axis labeling. If xunit = "time", the unit is time in seconds, otherwise the number of samples.
ylim
The y (amplitude) limits of the plot.
main, sub
A main / sub title for the plot.
xlab, ylab
Label for x-/y-axis.
simplify
Logical, whether the plot should be simplified. If TRUE (default), not all (thousand/millions/billions) of points (samples) of the Wave object are drawn, but the
nr
Number of windows (segments) to be used approximately (an appropriate number close to nr is selected) to simplify (see above) the plot. Only used if simplify = TRUE and the number
...
Further arguments to be passed to the underlying plot functions.

concept

  • Wave
  • music
  • speech

Details

Function plot.Wave.channel is a helper function to plot a single (left!) channel; in particular it is not intended to be called by the user directly.

See Also

Wave and tuneR