plotElementsLegend: Plot Legend of Network Elements

Description Usage Arguments Details Examples

Description

Add legend of network elements to the active plot

Usage

1
plotElementsLegend(legend.locn)

Arguments

legend.locn

keyword for location of legend. See details of legend() function.

Details

Helper function for adding a legend to the active plot. Uses plot characters 16, 15, 8 and 25 for Tanks, Reservoirs, Pumps and Valves for compatibility with plotInpNodes()

Examples

1
2
3
4
## make a new blank plot 
plot( c(0,1), c(0,1), type = 'n') 
## add the nodes, including junctions 
plotElementsLegend('topright') 

bradleyjeck/epanetReader documentation built on May 13, 2019, 2:28 a.m.