[R] background colors in image()

From: array chip <arrayprofile_at_yahoo.com>
Date: Thu 11 Aug 2005 - 04:39:16 EST


Hi, I am using image() function to plot a matrix which has some missing valuies (NA). It looks like, by default, missing values were drawn in white color, How can I change that into a different color, say a gray color? I tried to use bg='gray' argument with no luck. Anyone has a suggestion?

Thanks



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Aug 11 04:45:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:45 EST