draw_lines | R Documentation |
Helper function for adding straight lines to plot components made with
praatpicture. Do not use directly, instead use praatpicture with the
draw_lines
argument.
draw_lines(plot_component, args)
plot_component |
String giving the name of the plot component to draw on. |
args |
A list of vectors giving arguments used for drawing straight lines. See praatpicture documentation. |
No return values, called internally by praatpicture and sibling functions.
# Don't use directly
datapath <- system.file('extdata', package='praatpicture')
soundFile <- paste0(datapath, '/1.wav')
praatpicture(soundFile, draw_lines=c('spectrogram',
h=seq(0,5000,by=1000), lty='dashed'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.