Learn R Programming

soundgen (version 2.7.2)

drawFreqAxis: Draw frequency axis

Description

Internal soundgen function

Usage

drawFreqAxis(y, ylim = range(y), yScale, nLbls = 5, y_Hz = TRUE, ...)

Arguments

y

frequency values

ylim

range of frequency values

yScale

scale of frequency representation

nLbls

number of frequency labels

y_Hz

show frequency in Hz (TRUE) or kHz (FALSE)

...

other graphical parameters passed to axis()

Details

Helper function for adding a customized frequency axis to the spectrogram