xc_trap | R Documentation |
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"))
y |
water depth [ |
b |
bottom width [ |
m |
side slope (H:1) |
units |
character vector that contains the system of units [options are
|
a cross-section diagram
Ed Maurer
# Draw a cross-section with depth 1, width 2, side slope 3:1 (H:V)
xc_trap(y = 1.0, b = 2.0, m = 3.0, units = "SI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.