Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

zlocator

zlocator


Description

Locator function with set parameters

Usage

zlocator(COL = 1, ID = FALSE, NUM = FALSE, YN = NULL, style = 0)

Arguments

COL

color

ID

logical, identify points

NUM

number of points

YN

number of windows to span for lines

style

0,1,2 for differnt style of plotting vertical lines

Details

if the window is divided into YN horizontal regions, style =2 will plot segments only within regions based on y-value of locator().

Value

list:

x

x-locations

y

y-locations

n

number of points

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

plocator, locator

Examples

plot(c(0,1), c(0,1), type='n')
for(i in 1:5) { abline(h=i/6) }

if(interactive() )zlocator(COL = 1, NUM = 4, YN = 6, style = 2)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.