aoi: Select an area of interest on a plot using the mouse

Description Usage Arguments Value Note

Description

Allows the user to select an area of interest (box) by clicking on the active plot window

Usage

1
aoi(draw.poly = TRUE, draw.poly.col = "black", status = TRUE)

Arguments

draw.poly

Whether to draw the box on the plot. T/F.

draw.poly.col

The color to use if drawing the box on the plot. Color value. Ignored if draw.poly=FALSE.

status

Show messages to the user

Value

A two-column xy data frame containing the upper left point and the lower right point in the first and second rows respectively

Note

This function requires a plot window to be open


tlocoh documentation built on May 2, 2019, 5:27 p.m.