Description Usage Arguments Value Author(s) Examples
Scalebar
adds a distance scalebar onto a projected
map. It is not appropriate for geographic projections.
1 |
x |
the x-axis position for the lower left corner of the bar |
y |
the x-axis position for the lower left corner of the bar |
distance |
the distance for which the scale bar should represent |
unit |
the units to report as the scaling |
scale |
the scaling factor to rescale the distance to a different unit. e.g., if your map is in m and want the scalebar to be in km, use a scale of 0.01 |
t.cex |
the scaling of the font size to be used for the scalebar |
nothing is returned, simply a scalebar is added to a plot.
Jeremy VanDerWal jjvanderwal@gmail.com
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.