

   locator {base}                               R Documentation

   GGrraapphhiiccaall IInnppuutt

   DDeessccrriippttiioonn::

        `locator' reads the position of the graphics cursor
        when the (first) mouse button is pressed.

   UUssaaggee::

        locator(n=512, type="n")

   AArrgguummeennttss::

          n: the maximum number of points to locate.

       type: One of `"n"', `"p"', `"l"' or `"o"'. If `"p"' or
             `"o"' the points are plotted; if `"l"'  or `"o"'
             they are joined by lines.

   DDeettaaiillss::

        Unless the process is terminated prematurely by the
        user (see below) at most `n' positions are determined.

        The input process can be terminated prematurely by
        pressing any mouse button other than the first.

   VVaalluuee::

        A list containing `x' and `y' components which are the
        coordinates of the identified points.

