plotscalebar {prettymapr} | R Documentation |
Raw Plot Scale Bar
Description
Just in case anybody is hoping to draw a custom scalebar, this is the method used to plot it. If you don't know what this is, you should probably be using addscalebar.
Usage
plotscalebar(
x,
y,
ht,
params,
style = "bar",
adj = c(0, 0),
tick.cex = 0.7,
bar.cols = c("black", "white"),
lwd = 1,
linecol = "black"
)
Arguments
x |
The position (user) to draw the scale bar |
y |
The position (user) to draw the scale bar |
ht |
The height(in user coordinates) to draw the scale bar |
params |
Scalebar parameters as generated by scalebarparams |
style |
One of |
adj |
Where to align the scale bar relative to |
tick.cex |
If |
bar.cols |
A vector of color names to be repeated for a |
lwd |
Passed when drawing lines associated with the scalebar |
linecol |
Passed when drawing lines associated with the scalebar |
See Also
[Package prettymapr version 0.2.5 Index]