Learn R Programming

LeafAngle (version 1.2-1)

plot.angledist: Plots object of class angledist

Description

More

Usage

"plot"(x, ylim=NULL, add=FALSE, linecol="blue", xlab=expression(Leaf~angle~~(""^"o")), ylab="Density", main=NA,...)

Arguments

x
angledist object (see angledist.
ylim
limits for y-axis
add
logical; whether to add curve to existing plot.
linecol
color of line
xlab,ylab
Labels for X and Y axes
main
A title for the plot (optional).
...
Further parameters passed to hist

Details

Plots a histogram of the data used to fit the distribution (if available), and a curve of the density function (in an attractive blue color).

References

Wang W.M., Li Z.L. & Su H.B. (2007). Comparison of leaf angle distribution functions: Effects on extinction coefficient and fraction of sunlit foliage. Agricultural and Forest Meteorology, 143, 106-122.

Examples

Run this code


# Fit a distribution;
data(eteret)
myfit <- fitdistribution(eteret, 'ellipsoid')

# Plot it.
plot(myfit)



Run the code above in your browser using DataLab