Description Usage Arguments Details Author(s) See Also Examples
add a scale bar onto a plot of a spatial object
1 2 3 4 |
ref |
a spatial object that was plotted, whose coordinates you want the points to be in |
max |
the maximum distance you want |
nbreaks |
the number of equally spaced points you want |
unit |
the units that correspond to max, or breaks |
x |
The x location of the first point |
y |
the y location of the first points |
wgs |
whether the map is in wgs 1984 |
breaks |
if supplied max and nbreaks is ignored. This is a vector of distances that points will be returned for |
col |
color of the bars |
border |
color of the boarders of the boxes |
height |
height of the boxes in character units |
cex |
size of teh text labels |
axis.off |
character units that the axis labels are away from teh boxes |
font |
font of the axis units |
digits |
number of digits to round the axis labels to |
Defaults to drawing in the bottom left corner
Connor F. White
scaleBar2, xdistSpacing, north
1 2 3 4 5 6 7 8 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.