[R] grayscale wireframe??
Sebastien Guyader
sebastien.guyader at antilles.inra.fr
Wed Jul 7 18:04:39 CEST 2010
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.
More information about the R-help
mailing list