Displaying 1 result from an estimated 1 matches for "maxlayout".
2009 Jan 02
1
How to capture multiple graph pages to .png ?
...pets of the entire code,
edited a bit for
if(!is.na(plotFileName)) {
print(paste("Saving Zonal plot to file ",plotFileName,".png",sep=""))
print("(To display instead, do not pass any 'plotFileName' argument to
cro.zone.plot function.)")
maxLayout <- c(0,length(unique(miniDataSet$splitCol)))
png(filename =
paste(as.character(plotFileName),".png",sep=""),width=(1.2*plotSize*(maxLayout[2]^(1/3))),
height=(plotSize*(maxLayout[2]^(1/3))))
} else {
devAskNewPage(ask = TRUE)
maxLayout <- c(0,min(16,l...