locLine: abline at locator point in graph

View source: R/locLine.R

locLineR Documentation

abline at locator point in graph

Description

Draw vertical and/or horizontal lines at positions in a graph located by clicking

Usage

locLine(h = TRUE, v = TRUE, n = 1, ...)

Arguments

h

Draw horizontal line at clicked location? DEFAULT: TRUE

v

Draw vertical line at clicked location? DEFAULT: TRUE

n

Number of points to be clicked. DEFAULT: 1

...

Further arguments passed to abline like lty, lwd, col, etc

Details

Not tested across platforms yet...

Value

locator result

Author(s)

Berry Boessenkool, berry-b@gmx.de, Mar 2016

See Also

locArrow, locator, abline

Examples


plot(cumsum(rnorm(60)), type="l")
## locLine() # only do this manually in interactive() mode

berryFunctions documentation built on May 29, 2024, 4:01 a.m.