Learn R Programming

rivervis (version 0.46.0)

RiverFrame: River Frame Plotting

Description

This plots river frames, lead lines and archor points.

Usage

RiverFrame(riverlayout, ln.shw = T, ln.col = "grey40", ln.lty = 3, ln.lwd = 1, pt.shw = T, pt.col = "black", pt.pch = 20, pt.bg = "black", pt.cex = 1, pt.lwd = 1, bd.shw = T, bd.col = "black")

Arguments

riverlayout
the output list of RiverLayout.
ln.shw
show lead lines (TRUE) or not (FALSE).
ln.col
lead line colour.
ln.lty
lead line style.
ln.lwd
lead line width.
pt.shw
show anchor points (TRUE) or not (FALSE). Anchor points represent the locations of the river mouths.
pt.col
anchor point colour.
pt.pch
anchor point style.
pt.bg
anchor point background(fill) colour when pch=21:25.
pt.cex
anchor point size.
pt.lwd
anchor point border width.
bd.shw
show boarders (TRUE) or not (FALSE).
bd.col
border colour.

See Also

RiverLayout, RiverMap, par.

Examples

Run this code
data(Ballinderry)

riverlayout <- RiverLayout(B.river$River,B.river$Length,
                           B.river$Parent,B.river$Position,
                           B.river$Distance, direction = -1)
RiverDraw(riverlayout)

RiverFrame(riverlayout, bd.col = "green",
           pt.col = "red", ln.col = "orange")

Run the code above in your browser using DataLab