Plotstand(treesfile="trees.dat", strfile="str.dat",
crownshape=c("cone","ellipsoid","round",
"halfellipsoid","paraboloid","cylinder"),
readstrfiles=TRUE,targethighlight=TRUE,
addNarrow=TRUE, xyaxes=TRUE,labcex=1,axiscex=1,
verbose=FALSE,...)
Openstand(treesfile="trees.dat")
plottree(crownshape=c("cone","elipsoid","ellipsoid","round",
"halfellipsoid","paraboloid","cylinder"),
CL=1, CW=1, HCB=1, X=0, Y=0, dbh=0.3, crowncolor="forestgreen",
stemcolor="brown", nz=25, nalpha=25, ...)
plot3dtriangles(m,...)
coord3dshape(crownshape=c("cone","ellipsoid","halfellipsoid",
"paraboloid","cylinder"),
nz=25, nalpha=25, CL=1, CW=1, x0=0, y0=0, z0=0)
# Plot the 'trees.dat' file in the current working directory:
Plotstand()
# Open a dialog box to select a trees.dat file:
Plotstand(file.choose())
# Save a snapshot to a .png file.
# Note: make sure to move the 3D plot into view
# (so that other windows are not blocking it!)
snapshot3d('myforest.png')
# For publication-quality graphs:
Plotstand(nz=50, nalpha=50)
Run the code above in your browser using DataLab