highlightseg: Highlight Segments

Description Usage Arguments Author(s) Examples

View source: R/riverdist_1.R

Description

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

Usage

1
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

1
2
3

riverdist documentation built on Sept. 10, 2021, 9:06 a.m.