plotTree: Plot a single tree in 3D

Description Usage Arguments See Also Examples

Description

Plots a tree if available, uses stem and cronw shape Matrices provided, leading to faster computing times. Otherwise recalculates these.

Usage

1
2
3
4
5
6
7
  plotTree(X = 0, Y = 0, topHeight = 1,
    heightCrownBase = 0, crownWidth = 1, dbh = 0.01,
    crownShapeMatrix = NA, stemShapeMatrix = NA,
    crownShape = c("cone", "elipsoid", "ellipsoid", "round", "halfellipsoid", "paraboloid", "cylinder", "yokozawa"),
    eta = 13, crownColor = "forestgreen",
    stemColor = "brown", nz = 25, nalpha = 25, zvals = NA,
    ...)

Arguments

X
Y
topHeight
heightCrownBase
crownWidth
dbh
crownShapeMatrix
stemShapeMatrix
crownShape

One of "cone", "elipsoid", "ellipsoid", "round", "halfellipsoid", "paraboloid", "cylinder", "yokozawa"

eta
crownColor
stemColor
nz
nalpha
zvals

See Also

plotStand

Examples

1
2
3
4
5
# some examples here.
standViz:::newRgl()
zvals <- c(0, seq(0.4, 0.9, by = 0.025), seq(0.91, 1, by = 0.01))
plotTree(crownShape = "yokozawa", crownWidth = 5, topHeight = 10, heightCrownBase = 0,
dbh = 0.1, eta = 13, zvals = zvals)

dfalster/standViz documentation built on May 15, 2019, 5:11 a.m.