Description Usage Arguments Author(s) See Also Examples
View source: R/plot.leaffile.R
Produces a plot of a Yplant leaf file, read in using readl
.
1 2 3 |
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 |
Remko Duursma
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.