plot.rivernet: Plots a River Network Stored in an Object of Class "rivernet"

View source: R/plot.rivernet.r

plot.rivernetR Documentation

Plots a River Network Stored in an Object of Class "rivernet"

Description

Plots a river network.

Usage

## S3 method for class 'rivernet'
plot(x,margin=0,
                        main=NA,cex.main=1,pos="topleft",
                        col=NA,lwd=1,
                        pch.nodes=NA,cex.nodes=0.2,col.nodes="black",
                        ...)

Arguments

x

Object of class "rivernet" e.g. read by the function rivernet.read.

margin

Relative margin size.

main

Optional title of the plot.

cex.main

Font scaling factor of the title.

pos

Position of legend. Either "topleft" or "topright".

col

Optional single color or vector of colors of the different reaches either in the same order as the reaches in the rivernet object or labeled by the reach identifiers.

lwd

Optional single line width or vector of line widths of the different reaches either in the same order as the reaches in the rivernet object or labeled by the reach identifiers.

pch.nodes

Plot marker for nodes. See points for an explanation of codes.

cex.nodes

Scaling of markers for nodes.

col.nodes

Single color or vector of colors used for node markers. The order must be the same as in the rivernet object.

...

Further arguments are passed to the plotting function.

See Also

rivernet.read, utility.


rivernet documentation built on Aug. 28, 2023, 5:06 p.m.