Topic: CTFS Plot Maps

Topic Description:

Functions for maps of CTFS plot data. The file map.r has functions for tree distribution maps, including overlays of elevation contours. The file mapresponse.r has functions for creating color or contour maps of any numerical responses, based on the R functions image, contour, and filled.contour.



File: map/map.r

View File Source Download File No help file available

Function: png.allplot

Function Description: png.allplot

Export species maps as png. There will be one for every species chosen. See pdf.allplot.

Function Arguments:

ArgumentDefault Value
splitdatabci.split6
spplistplotspp$bci
elevctfs.elev$bci$mat
plotdimc(1000,500)
topoint2
plotside9
h850
w1100
ptsizesc(.3,.45,.65)
dbhcutc(10,100,300,3000)
deadFALSE
exportTRUE
path'/home/condit/data/maps/bci/'

Function Source:


png.allplot=function(splitdata=bci.split6,spplist=plotspp$bci,elev=ctfs.elev$bci$mat,plotdim=c(1000,
        500),topoint=2,plotside=9,h=850,w=1100,
ptsizes=c(.3,.45,.65),dbhcut=c(10,100,300,3000),dead=FALSE,export=TRUE,path='/h
        ome/condit/data/maps/bci/') {
allspp=names(splitdata)
for(i in 1:length(allspp))

map(splitdata,species=allspp[i],spplist=spplist,elevdata=elev,plotdim=plotdim,cutoff=dbhcut,size=
        ptsizes,deadtree=dead,topoint=topoint, plotside=plotside,export='png',filepath=path,ht=h,wd=w,legsize=1)
}