This function will plot formant tracks for single analyses (e.g., formants[[1]][[1]]) or comparing all candidate analyses for a single file (e.g., formants[[1]]).
plotffs( ffs, winner = NA, xlim = NA, ylim = NA, xlab = NA, ylab = NA, main = NA, colors = NA, cex = NA, lwd = NA, pch = NA, add = FALSE, spect = NA, ... )
| ffs | a dataframe containing formant tracks for a single analysis or a list of dataframes comparing multiple analyses for a single file. |
|---|---|
| winner | an optional dataframe representing the winners file. |
| xlim | an optional user-specified x-axis range. |
| ylim | an optional user-specified y-axis range. |
| xlab | an optional user-specified x-axis label. |
| ylab | an optional user-specified y-axis label. |
| main | an optional user-specified plot label. |
| colors | an optional vector of colors to use for the formant points/lines. |
| cex | an optional user-specified character expansion. |
| lwd | an optional user-specified line width. |
| pch | an optional user-specified point size. |
| add | if FALSE, a new plot if created. |
| spect | an optional spectrogram to be shown behind the tracks. |
| ... | Additional arguments are passed to the internal call of 'plot'. |
if (FALSE) { sound = readWave2("yoursound.wav") ffs = analyze (sound) spect = spectrogram (sound) plotffs (ffs[[9]]) plotffs (ffs[[9]], spect = spect) plotffs (ffs) plotffs (ffs, spect = spect) }