Description Usage Arguments Value Author(s) See Also Examples
Add a scalebar to a plot
1 2 |
d |
distance covered by scalebar |
xy |
x and y coordinate to place the plot. Can be NULL. Use |
type |
"line" or "bar" |
divs |
Number of divisions for a bar type. 2 or 4 |
below |
Text to go below scalebar (e.g., "kilometers") |
lonlat |
Logical or NULL. If logical, |
adj |
adjustment for text placement |
label |
Vector of three numbers to label the scale bar (beginning, midpoint, end) |
lwd |
line width for the "line" type scalebar |
... |
arguments to be passed to other methods |
None. Use for side effect of a scalebar added to a plot
Robert J. Hijmans; partly based on a function by Josh Gray
1 2 3 4 5 |
Loading required package: sp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.