Description Usage Arguments Value Author(s) See Also
Measure a distance between two points on a plot using locator
; the function checks par("plt")
and par("usr")
to try to ensure that the aspect ratio y/x is 1, that is that the units of measurement in both x and y are equivalent.
1 |
ann |
annotate the plot with line measured and distance |
a list with members:
dist |
distance measured |
coords |
coordinates between which distance is measured |
Roger Bivand Roger.Bivand@nhh.no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.