Usage
"plot"(x, obs = NULL, stem = TRUE, leaf = TRUE, root = TRUE, rhizome = TRUE, LAI = TRUE, grain = TRUE, xlab = NULL, ylab = NULL, pch = 21, lty = 1, lwd = 1, col = c("blue", "green", "red", "magenta", "black", "purple"), x1 = 0.1, y1 = 0.8, plot.kind = c("DB", "SW"), ...)
Arguments
- x
willowGro
object.
- obs
- optional observed data object (format
following the
OpwillowGro
function .
- stem
- whether to plot simulated stem (default =
TRUE).
- leaf
- whether to plot simulated leaf (default =
TRUE).
- root
- whether to plot simulated root (default =
TRUE).
- rhizome
- whether to plot simulated rhizome (default
= TRUE).
- grain
- whether to plot simulated grain (default =
TRUE).
- LAI
- whether to plot simulated LAI (default =
TRUE).
- pch
- point character.
- lty
- line type.
- lwd
- line width.
- col
- Control of colors.
- x1
- position of the legend. x coordinate (0-1).
- y1
- position of the legend. y coordinate (0-1).
- plot.kind
- DB plots dry biomass and SW plots soil
water.
- ...
- Optional arguments.
Description
By default it plots stem, leaf, root, rhizome and LAI for a
willowGro
object. Optionally, the observed data can
be plotted.
Details
This function uses internally xyplot
in the 'lattice' package.