marsCombinedPlot: Plot hyetograph and water level plot on the same chart

Description Usage Arguments Value See Also

View source: R/mars_plotting_functions.R

Description

Return hyetograph and observed and simulated (optional) water level plot for the same rain event on the same chart

Usage

1
2
3
4
marsCombinedPlot(event, structure_name, obs_datetime, obs_level_ft,
  sim_datetime = NA, sim_level_ft = NA, storage_depth_ft,
  orifice_show = FALSE, orifice_height_ft = NULL, rainfall_datetime,
  rainfall_in, raingage)

Arguments

event

chr, rain gage event UID

structure_name

chr, SMP ID and OW Suffix

obs_datetime

vector, POSIXct datetimes corresponding to obs_level_ft

obs_level_ft

vector, water level data (ft), corresponding to obs_datetime

sim_datetime

vector, POSIXct datetimes corresponding to sim_level_ft (optional)

sim_level_ft

vector, water level data (ft), corresponding to sim_datetime (optional)

storage_depth_ft

num, maximum storage depth of system (ft)

orifice_show

TRUE if user wants to include the orifice height as dashed line on plot (optional)

orifice_height_ft

Orifice height, in feet (optional)

rainfall_datetime

vector, POSIXct datetimes corresponding to rainfall_in

rainfall_in

vector, num, rainfall in inches corresponding to rainfall_datetime

raingage

chr, Label for the hyetograph for what rain gage the data came from

Value

Output will be a gridExtra object of the two plots

See Also

marsRainfallPlot, marsWaterLevelPlot


taywater/pwdgsi documentation built on Nov. 17, 2019, 6:02 a.m.