Learn R Programming

YplantQMC (version 0.6-6)

viewplot: Make a three panel plot of a 3D plant

Description

Three plots of a 3D plant: views from the east, south and from above. This is a lame way to plot the plant, as the stems are always plotted on top (whether or not they are visible). It is available for quick plotting, and for ypreport, as it does not require the rgl package.

See plot.plant3d for more advanced, high quality, plotting of plants.

This function plots the plant from above, east and west views. Stems are also plotted, as opposed to the standard plot of a projected plant (see projectplant).

Usage

viewplot(plant, side = c("east", "south", "above"), stems = TRUE, autopar = TRUE)

Arguments

plant
An object of class 'plant3d' (see constructplant).
side
Which side to plot (can specify more than 1).
stems
If TRUE, plots the stem sections (always on top, lame).
autopar
If TRUE, tries to guess how to split up the plotting device.

See Also

plot.plant3d,projectplant

Examples

Run this code


# Toona australis from above
viewplot(toona, "above")



Run the code above in your browser using DataLab