plot.leaffile: Plots a Yplant leaf file (a file with extension '.l' or...

Description Usage Arguments Author(s) See Also Examples

Description

Produces a plot of a Yplant leaf file, read in using readl.

Usage

1
2
## S3 method for class 'leaffile'
plot(x, nleaf=1, edgepoints = TRUE, edgecex = 0.8, ...)

Arguments

x

Object of class 'leaffile'.

nleaf

Which leaf to plot in the leaf file (if more than one leaf available in the file).

edgepoints

Logical. If TRUE, plots dots on the leaf edge coordinates.

edgecex

If edgepoint=TRUE, cex (i.e. size) of the leaf edge dots.

...

Further parameters passed to plot.default.

Author(s)

Remko Duursma

See Also

readl

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

# Read and plot a leaf in one go, select a leaf from a menu.
plot(readl())

# Make a pdf of all leaf files in the current working directory:
leaffiles <- list.files(pattern="\\.l$", ignore.case=TRUE)
pdf("Leaf files.pdf", onefile=TRUE)
for(i in 1:length(leaffiles))plot(readl(leaffiles[i]))
dev.off()



## End(Not run)

YplantQMC documentation built on May 2, 2019, 5:50 p.m.