ds_oscillogram() adds an oscillogram (waveform) to a dynaspec() object. Oscillograms are shown by ds_static() (alone, or above or below the spectrogram) and ds_scrolling() (below the spectrogram) styles.
Arguments
- position
Character string: "below" or "above" the spectrogram (only for
ds_static();ds_scrolling()always shows it below). Default is "below".- col
Color of the oscillogram. Default is
NULL: 'col.wave' ofds_theme(), or "black".- height
Numeric vector of length 1 with the height of the oscillogram relative to that of the spectrogram (e.g. 0.5 is half as high). Default is
NULL(style default).
Value
A layer to be added to a dynaspec() object with +.