Display output of a Dynamic TOPMODEL run

Share:

Description

Simple output of the results of a simulation.

Usage

1
2
disp_output(qsim, rain, evap = NULL, qobs = NULL, tm = NULL, par = NULL,
  start = min(index(qsim)), end = max(index(qsim)), ...)

Arguments

qsim

Time series of simulated discharges.

rain

Time series of rainfall, at same interval as simulated values.

evap

Time series of evapotranspiration (optional), at same interval as simulated values.

qobs

Time series of evapotranspiration (optional), at same interval as simulated values.

tm

Display a vertical line at this time in the simulation. If NULL no line will be drawn.

par

Parameters controlling display output. A default set may be obtained through a call to disp.par.

start

Start time for plot in a format interpretable as POSIXct date time. Defaults start of simulated discharges.

end

End time for plot in a format interpretable as POSIXct date time. Defaults to end of simulated discharges.

...

Any further named parameters will be treated as graphics parameters and applied throughout the plot.

Details

This will render the hydrograph, any observations, actual evapotranpiration, if supplied, and the rainfall hyetograph.

Author(s)

Peter Metcalfe

See Also

disp.par

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# Show the output of the storm simulation, overriding label colours and vertical axis limits.
require(dynatopmodel)

data(brompton)

x11()
with(brompton$storm.run, disp_output(evap=ae*1000,qobs=qobs*1000,
                                     qsim=qsim*1000, rain=rain*1000,
                                     max.q=2, cex.main=1, col.axis="slategrey", las.time=1))

## End(Not run)