Skip to content

Commit 2aa779f

Browse files
committed
sb
1 parent 8ffd7f1 commit 2aa779f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

man/sbar.Rd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Add a scale bar to a map
1010

1111
\usage{
1212
sbar(d, xy=NULL, type="line", divs=2, below="", lonlat=NULL, labels,
13-
adj=c(0.5, -1), lwd=2, xpd=TRUE, ticks=FALSE, scaleby=1, halo=TRUE, ...)
13+
adj=c(0.5, -1), lwd=2, xpd=TRUE, ticks=FALSE, scaleby=1, halo=TRUE,
14+
col="black", fill=c("black", "white"), border="black", ...)
1415
}
1516

1617
\arguments{
@@ -27,6 +28,9 @@ sbar(d, xy=NULL, type="line", divs=2, below="", lonlat=NULL, labels,
2728
\item{ticks}{logical or numeric. If not \code{FALSE}, tick marks are added to a "line" scale bar. The length of the tick marks can be specified}
2829
\item{scaleby}{numeric. If \code{labels} is not provided. The labels are divided by this number. For example, use 1000 to go from m to km}
2930
\item{halo}{logical. If \code{TRUE} the "line" type scale bar gets a white background}
31+
\item{col}{the font color for the labels}
32+
\item{fill}{the fill color for the bar}
33+
\item{border}{the color of the border around the bar}
3034
\item{...}{graphical arguments to be passed to other methods }
3135
}
3236

0 commit comments

Comments
 (0)