Skip to contents

Plots time series of the watershed-level balance results of simulations with spwb_land, growth_land or fordyn_land.

Usage

# S3 method for class 'spwb_land'
plot(x, type = "Hydrograph_Hietograph", dates = NULL, summary.freq = NULL, ...)

# S3 method for class 'growth_land'
plot(x, type = "Hydrograph_Hietograph", dates = NULL, summary.freq = NULL, ...)

# S3 method for class 'fordyn_land'
plot(x, type = "Hydrograph_Hietograph", dates = NULL, summary.freq = NULL, ...)

Arguments

x

An object of class spwb_land, growth_land or fordyn_land.

type

The information to be plotted (see details)

dates

A Date vector with a subset of dates to be plotted.

summary.freq

Frequency of summary statistics (see cut.Date).

...

Additional parameters for function plot (not used).

Value

A ggplot object

Details

The following plots are currently available:

  • "Hydrograph_Hietograph": A combination of hydrograph and hietograph (in a secondary, reversed, axis).

  • "PET_Precipitation": Potential evapotranspiration, rainfall and snow.

  • "Export": Water exported through different fluxes.

  • "Evapotranspiration": Interception, woody transpiration, herb transpiration and soil evaporation.

Author

Miquel De Cáceres Ainsa, CREAF