Skip to content
Prev 226647 / 398500 Next

grayscale wireframe??

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)