Creates a cross-section plot for an open channelSource:
This function plots a cross-section of a (trapezoid, rectangle, triangle), shaded as filled to the level indicated by the values passed to it.
xc_trap(y = NULL, b = NULL, m = NULL, units = c("SI", "Eng"))
water depth [\(m\) or \(ft\)]
bottom width [\(m\) or \(ft\)]
side slope (H:1)
character vector that contains the system of units [options are
SIfor International System of Units and
Engfor English (US customary) units.