highlightseg {riverdist}R Documentation

Highlight Segments

Description

Plots a river network object and displays specified segments in bold, for easy identification.

Usage

highlightseg(seg, rivers, cex = 0.8, lwd = 3, add = FALSE, color = FALSE, ...)

Arguments

seg

A vector of segments to highlight

rivers

The river network object to use

cex

The character expansion factor to use for segment labels

lwd

The line width to use for highlighted segments

add

Whether to add the highlighted segments to an existing plot (TRUE) or call a new plot (FALSE). Defaults to FALSE.

color

Whether to display segment labels as the same color as the segments. Defaults to FALSE.

...

Additional plotting arguments (see par)

Author(s)

Matt Tyers

Examples

data(Kenai3)
plot(Kenai3)
highlightseg(seg=c(10,30,68),rivers=Kenai3)

[Package riverdist version 0.16.3 Index]