plotInpNodes: Plot Node Elements

Description Usage Arguments Details Examples

View source: R/epanet.inp-s3.r

Description

Adds node elements from epanet.inp object to an existing plot

Usage

1
plotInpNodes(x, plot.junctions)

Arguments

x

epanet.inp object

plot.junctions

logical indicating whether to plot junctions

Details

Helper function for building up a network plot. Tanks and Reservoirs are shown using plot characters (pch) ' 16 and 15. Junctions, if plotted, appear as pch ="."

Examples

1
2
3
4
## make a new blank plot 
plot( range(Net1$Coordinates$X), range(Net1$Coordinates$Y), type = 'n') 
## add the nodes, including junctions 
plotInpNodes(Net1, TRUE ) 

epanetReader documentation built on May 2, 2019, 2:08 p.m.