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
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
2 matches
Mail list logo