Description Usage Arguments Author(s) See Also Examples
View source: R/RiverDirection.R
This plots river flow direction arrow on river charts.
1 2 3 | RiverDirection(riverlayout, loc = NA, arw.length = 0.05, arw.lty = 1,
arw.lwd = 1, arw.angle = 30, arw.col = "black",
label = "Flow direction", lbl.cex = 0.5, lbl.pos = 4, lbl.ofs = 0.5)
|
riverlayout |
the output list of |
loc |
location of arrow. One or two values in the range [0, 1] for left
and bottom margin sizes. If |
arw.length |
arrow length. |
arw.lty |
arrow line style. |
arw.lwd |
arrow line width. |
arw.angle |
arrow head angle. |
arw.col |
arrow colour. |
label |
label of the arrow. |
lbl.cex |
label size. |
lbl.pos |
label position. |
lbl.ofs |
label position offset. |
Feng Mao
RiverLayout
, RiverDraw
,
RiverMap
, par
, locator
,
arrows
.
1 2 3 4 5 6 7 8 9 10 11 12 | data(Ballinderry)
riverlayout <- RiverLayout(B.river$River,B.river$Length,
B.river$Parent,B.river$Position,
B.river$Distance, direction = -1)
RiverDraw(riverlayout)
RiverDirection(riverlayout, arw.length = 0.03,
loc = c(0.8, 0.05), lbl.cex = 0.8)
# Use mouse to allocate the flow direction sign
## RiverDirection(riverlayout, arw.length = 0.03, lbl.cex = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.