With grDevices package, I do the following to generate a greyscale: newcols <- colorRampPalette(c("white", "black")) #generates palette from white to black #OR newcols <- colorRampPalette(c("grey90", "grey10")) #generates palette frome light to dark grey for better visibility
Then in the wireframe() command type the argument: col.regions=newcols(100) -- View this message in context: http://r.789695.n4.nabble.com/grayscale-wireframe-tp2280281p2281127.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.