Learn R Programming

riverdist (version 0.17.0)

zoomtoseg: Zoom to segment

Description

Calls plot.rivernetwork and automatically zooms to a specified segment or vector of segments. Not intended for any real mapping - just investigating and error checking.

Usage

zoomtoseg(seg, rivers, ...)

Arguments

seg

A segment or vector of segments to zoom to

rivers

The river network object to use

...

Additional plotting arguments (see par)

Author

Matt Tyers

Examples

Run this code
data(Kenai3)
plot(x=Kenai3)

# checking out a particularly messy region...
zoomtoseg(c(110,63), rivers=Kenai3)

Run the code above in your browser using DataLab