Learn R Programming

hydraulics (version 0.2.0)

xc_circle: 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)

Arguments

y

water depth

d

pipe diameter

Value

a cross-section diagram

Examples

Run this code
# NOT RUN {
# Draw a cross-section with diameter 1.0 and depth 0.7
xc_circle(y = 0.7, d = 1.0)

# }

Run the code above in your browser using DataLab