Last data update: 2014.03.03

R: Plots object of class angledist
plot.angledistR Documentation

Plots object of class angledist

Description

More

Usage

## S3 method for class 'angledist'
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).

Author(s)

Remko Duursma

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



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

# Plot it.
plot(myfit)



Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(LeafAngle)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LeafAngle/plot.angledist.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot.angledist
> ### Title: Plots object of class angledist
> ### Aliases: plot.angledist
> ### Keywords: misc
> 
> ### ** Examples
> 
> 
> 
> # Fit a distribution;
> data(eteret)
> myfit <- fitdistribution(eteret, 'ellipsoid')
> 
> # Plot it.
> plot(myfit)
> 
> 
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>