`pasteLoc.Rd`

Get coordinates on a plot by mouse-clicking.

pasteLoc(nb, digits = c(3, 3))

nb | Number of positions. |
---|---|

digits | 2 integer indicating the number of decimal places (respectively for x and y coordinates). |

A list of coordinates. Note that if you don't put the result in a variable, it returns as the command text for generating the list. This can be useful to get coordinates by mouse-clicking once, but then using the code for convenience and reproducibility.