Re: [R] color2D.matplot with anchored color scale

2015-07-10 Thread Jim Lemon
Hi Phong, This is a common problem with using color to represent numeric values. What you want is a reference scale. Whenever you call color2D.matplot, use the "cellcolors" argument to specify the colors of each cell. You can directly call "color.scale" in this argument, using the "xrange" argument

[R] color2D.matplot with anchored color scale

2015-07-09 Thread Phong Nguyen
Hello Jim, I have a several matrices stored in allGrid <- list() I am using: color2D.matplot(grid, extremes = c("green", "red"), vcol = "black", nslices = 60, show.legend=TRUE,axes=FALSE,show.values=TRUE, xlab="Columns",ylab="Rows") for each of "grid" in "allGrid". Each "grid" is a matrix