plotInpLinks: Plot .inp Links

Description Usage Arguments Details Examples

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

Description

Add lines for pipes, pumps and valves from an epanet.inp object to an existing plot

Usage

1
plotInpLinks(x, lwd = 3, col = "black")

Arguments

x

epanet.inp object

lwd

width of lines

col

color of lines

Details

Helper function for building up a plot of the network by adding links to an existing plot.

Examples

1
2
3
4
## make a new blank plot 
plot( range(Net1$Coordinates$X), range(Net1$Coordinates$Y), type = 'n') 
## add the links
plotInpLinks(Net1) 

Example output



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