Skip to content
Prev 280145 / 398506 Next

Color2D.matplot uniform color range

On 12/13/2011 02:15 AM, jalfaro wrote:
Hi Jav,
My fault, the line should read:

color.scale(c(0,1,d[d<1]),cs1=c(0,0,1),cs2=c(0,0,1),cs3=1)[-(1:2)]
  cellcolors[d>= 2]<-"red"

I always forget that the unary minus has precedence over the sequence 
operator.

Jim