S3 plotting method for the rivernetwork-class. Produces a map of all river segments of a river network object.
# S3 method for rivernetwork
plot(
x,
segmentnum = TRUE,
offset = TRUE,
lwd = 1,
cex = 0.6,
scale = TRUE,
color = TRUE,
empty = FALSE,
linecol = 1,
xlab = "",
ylab = "",
...
)
The river network object to plot
Whether or not to plot segment numbers (defaults to TRUE)
Whether to offset segment numbers from lines (defaults to TRUE)
Line width
Global character expansion factor for plotting
Whether or not to give x- and y-axes the same scale
How to differentiate segments. If color==TRUE
(default),
segments will be drawn in solid lines with differing colors. If
color==FALSE
, segments will be drawn in the same color with differing line
types.
Creates an empty plot if set to TRUE
. Suppresses
differentiation by line type if color==FALSE
, and suppresses segment
number labels. Defaults to FALSE
.
Line color to use if empty
is TRUE
or
color
is FALSE
. Defaults to black.
Label for X-axis (defaults to "")
Label for Y-axis (defaults to "")
Additional plotting arguments (see par)
Matt Tyers