xc_circle: Creates a cross-section plot for a partially filled pipe

View source: R/xc_circle.R

xc_circleR Documentation

Creates a cross-section plot for a partially filled pipe

Description

This function plots a cross-section of a circular pipe, shaded as filled to the level indicated by the depth and diameter values passed to it.

Usage

xc_circle(y = NULL, d = NULL, units = c("SI", "Eng"))

Arguments

y

water depth [m or ft]

d

pipe diameter [m or ft]

units

character vector that contains the system of units [options are SI for International System of Units and Eng for English (US customary) units.

Value

a cross-section diagram

Author(s)

Ed Maurer

Examples


# Draw a cross-section with diameter 1.0 and depth 0.7
xc_circle(y = 0.7, d = 1.0, units = "SI")


hydraulics documentation built on Dec. 7, 2022, 1:11 a.m.