plot.cepstrum: plots a cepstrum image in time - quefrency space

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot.cepstrum.R

Description

i'm still working with how to scale the amplitude values so that the image is meaningful.

Usage

1
2
## S3 method for class 'cepstrum'
plot(x, pixel.colors = gray.colors(16, 1, 0), ...)

Arguments

x

a cepstrum object

pixel.colors

a vector of color levels for the bitmap

...

other arguments for image

Value

none

Author(s)

Benjamin N. Taft [email protected]

See Also

cepstrum image

Examples

 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)", ...)
    }
  }

landmarkacoustics/SoundPoints-R documentation built on Sept. 26, 2018, 9:08 a.m.