plot.BioGro: Plotting function for BioGro objects

Description Usage Arguments Details See Also

Description

By default it plots stem, leaf, root, rhizome and LAI for a BioGro object. Optionally, the observed data can be plotted.

Usage

1
2
3
4
5
6
7
## S3 method for class 'BioGro'
plot(x, obs = NULL, stem = TRUE, leaf = TRUE, root = TRUE, 
    rhizome = TRUE, LAI = TRUE, grain = TRUE, xlab = NULL, ylab = NULL, 
    ylim = 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", "ET", "cumET", "stress"), 
    ...)

Arguments

x

BioGro object.

obs

optional observed data object (format following the OpBioGro 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" dry biomass, "SW" plots soil water, "ET" evapotranspiration, "cumET" cummulative ET, "stress" stress indexes.

ylim

as in xyplot

xlab

as in xyplot

ylab

as in xyplot

...

Optional arguments.

Details

This function uses internally xyplot in the 'lattice' package.

See Also

BioGro OpBioGro


BioCro documentation built on May 2, 2019, 6:15 p.m.