Description Usage Arguments Value Author(s) See Also Examples
View source: R/plot.cepstrum.R
i'm still working with how to scale the amplitude values so that the image is meaningful.
1 2 | ## S3 method for class 'cepstrum'
plot(x, pixel.colors = gray.colors(16, 1, 0), ...)
|
x |
a cepstrum object |
pixel.colors |
a vector of color levels for the bitmap |
... |
other arguments for image |
none
Benjamin N. Taft ben.taft@landmarkacoustics.com
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x, pixel.colors = gray.colors(16, 1, 0), ...)
{
if (is(x) == "cepstrum") {
image(attr(x, "time"), attr(x, "quefrency"), x, col = pixel.colors,
xlab = "Time (s)", ylab = "Quefrency (Hz)", ...)
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.