plotElementsLegend {epanetReader}R Documentation

Plot Legend of Network Elements

Description

Add legend of network elements to the active plot

Usage

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

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

[Package epanetReader version 0.7.3 Index]