plotInpNodes {epanetReader} | R Documentation |
Adds node elements from epanet.inp object to an existing plot
plotInpNodes(x, plot.junctions)
x |
epanet.inp object |
plot.junctions |
logical indicating whether to plot junctions |
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 ="."
## make a new blank plot
plot( range(Net1$Coordinates$X), range(Net1$Coordinates$Y), type = 'n')
## add the nodes, including junctions
plotInpNodes(Net1, TRUE )