draw_arrow: Draw arrow on praatpicture plot component

View source: R/draw_arrow.R

draw_arrowR Documentation

Draw arrow on praatpicture plot component

Description

Helper function for drawing arrows on plot components made with praatpicture. Do not use directly, instead use praatpicture with the draw_arrow argument.

Usage

draw_arrow(plot_component, args)

Arguments

plot_component

String giving the name of the plot component to draw on.

args

A list of vectors giving arguments used for drawing arrows. See praatpicture documentation.

Value

No return values, called internally by praatpicture and sibling functions.

Examples

# Don't use directly
datapath <- system.file('extdata', package='praatpicture')
soundFile <- paste0(datapath, '/1.wav')
praatpicture(soundFile, draw_arrow=c('spectrogram', 0.1, 500, 0.4, 2000))

praatpicture documentation built on April 4, 2025, 6:13 a.m.