plot-Wave {tuneR} | R Documentation |
Plotting objects of class Wave
.
## S4 method for signature '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, ...)
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 (see below) ranges (in form of segments) within nr windows of the time series.
Plotting with simplify = FALSE may take several minutes (depending on the number of samples in the Wave )
and output in any vector format may be really huge. |
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 of samples of Wave object x is larger. |
... |
Further arguments to be passed to the underlying plot functions. |
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.
Uwe Ligges, ligges@statistik.tu-dortmund.de
Wave-class, Wave
and tuneR