plot.stft | R Documentation |
An object of class "stft"
is plotted as a gray scale image.
The x-axis corresponds to time, the y-axis to frequency. If the
default colormap is used, dark regions in the plot correspond to high
values at the particular time/frequency location.
## S3 method for class 'stft'
plot(x, col = gray(63:0/63), ...)
x |
An object of class |
col |
An optional colormap. By default 64 gray values are used, where white corresponds to the minimum value and black to the maximum. |
... |
further arguments to be passed to or from methods. |
No return value. This function is only for plotting.
Andreas Weingessel
stft
x<-rnorm(500)
y<-stft(x)
plot(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.