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

Description Usage Arguments Value Note

View source: R/aoi.R

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 21, 2017, 12:29 a.m.

Search within the tlocoh package
Search all R packages, documentation and source code