Learn R Programming

rivervis (version 0.38.2)

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.
bd.col
border colour.
bd.shw
show boarders (TRUE) or not (FALSE).
ln.col
lead line colour.
ln.shw
show lead lines (TRUE) or not (FALSE).
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.

See Also

RiverLayout, RiverMap, par.

Examples

Run this code
data(Ballinderry)

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

# River flows left
riverlayout.left <- RiverLayout(B.river$River,B.river$Length,
                                B.river$Parent,B.river$Position,
                                B.river$Distance)

RiverDraw(riverlayout.left)

Run the code above in your browser using DataLab