powered by
Plots a river network object and displays specified segments in bold, for easy identification.
highlightseg(seg, rivers, cex = 0.8, lwd = 3, add = FALSE, color = FALSE, ...)
A vector of segments to highlight
The river network object to use
The character expansion factor to use for segment labels
The line width to use for highlighted segments
Whether to add the highlighted segments to an existing plot (TRUE) or call a new plot (FALSE). Defaults to FALSE.
TRUE
FALSE
Whether to display segment labels as the same color as the segments. Defaults to FALSE.
Additional plotting arguments (see par)
Matt Tyers
data(Kenai3) plot(Kenai3) highlightseg(seg=c(10,30,68),rivers=Kenai3)
Run the code above in your browser using DataLab