plotInpNodes {epanetReader}R Documentation

Plot Node Elements

Description

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

Usage

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

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

[Package epanetReader version 0.7.3 Index]