View source: R/draw_rectangle.R
draw_rectangle | R Documentation |
Helper function for drawing rectangles on plot components made with
praatpicture. Do not use directly, instead use praatpicture with the
draw_rectangle
argument.
draw_rectangle(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 rectangles. 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_rectangle=c('spectrogram', 0.1, 500, 0.4, 2000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.