Description Usage Arguments Author(s) See Also Examples
This plots the scale of river charts.
1 2 | RiverScale(length, label, riverlayout, loc = NA, scl.col = "black",
scl.lwd = 1, lbl.cex = 0.5, lbl.pos = 4, lbl.ofs = 0.5)
|
length |
the length of the scale. The length is defined in the same units as the river length. The function will convert this real length into a segment with the same scale as the rivers, and plot it on the river chart. |
label |
a string defining a scale label indicating the real length the scale segment represents. |
riverlayout |
the output list of |
loc |
location of scale. One or two values in the range [0, 1] to
define left and bottom margin sizes. If |
scl.col |
scale colour. |
scl.lwd |
scale line width. |
lbl.cex |
scale label size. |
lbl.pos |
scale label position. |
lbl.ofs |
scale label position offset. |
Feng Mao
RiverLayout
, RiverDraw
,
RiverMap
, par
, locator
.
1 2 3 4 5 6 7 8 9 10 11 | data(Ballinderry)
riverlayout <- RiverLayout(B.river$River,B.river$Length,
B.river$Parent,B.river$Position,
B.river$Distance, direction = -1)
RiverDraw(riverlayout)
RiverScale(2, "2 km", riverlayout, loc = c(0.8, 0.10),lbl.cex = 0.8)
# Use mouse to allocate the river scale
## RiverScale(2, "2 km", riverlayout, lbl.cex = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.