Re: [R] color2D.matplot not giving colors

2010-03-07 Thread Jim Lemon
On 03/07/2010 05:23 AM, david hilton shanabrook wrote: I am using color2D.matplot to plot a matrix about 400 by 200. The values in the matrix are 0:5 and NA. The resulting plot is not color, but shaded b/w. I tried to figure out how to add colors, I would like something like c(blue, green, r

[R] color2D.matplot not giving colors

2010-03-06 Thread david hilton shanabrook
I am using color2D.matplot to plot a matrix about 400 by 200. The values in the matrix are 0:5 and NA. The resulting plot is not color, but shaded b/w. I tried to figure out how to add colors, I would like something like c(blue, green, red, cyan, green) #example motifx <- matrix(NA, nrow=10