Description Usage Arguments Details Value
Reads the position of the graphics cursor from a lattice panel
1 |
n |
The maximum number of points to locate |
type |
One of |
... |
Additional graphic parameters passed to either
|
This provides a functional replacement for
locator
that works with lattice
objects. A
lattice
panel will be selected, redrawn as a single panel and
used to interact with the user. The position of the graphics cursor
will be recorded with each click of the (first) mouse button.
By default, a point will be added at that position unless otherwise
specified by the argument type
.
Like the locator
function, this function returns
values in "usr"
coordinates as a list.
A list containing x
and y
coordinates of the
identified points in the user coordinate system.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.