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

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.