Re: [R] pixmapIndexed color question

2004-07-12 Thread Uwe Ligges
Christoph Lehmann wrote: Hi I use pixmapIndexed tmp.vimp <- array(0,c(x.dim,y.dim)) tmp.vimp <- pixmapIndexed(tmp.vimp, col=rainbow) to plot values of a 2D matrix. I 'fill' the pixmapIndexed like: for (x in 1:x.dim) { for (y in 1:y.dim) { [EMAIL PROTECTED],y] <- my.m

[R] pixmapIndexed color question

2004-07-12 Thread Christoph Lehmann
Hi I use pixmapIndexed tmp.vimp <- array(0,c(x.dim,y.dim)) tmp.vimp <- pixmapIndexed(tmp.vimp, col=rainbow) to plot values of a 2D matrix. I 'fill' the pixmapIndexed like: for (x in 1:x.dim) { for (y in 1:y.dim) { [EMAIL PROTECTED],y] <- my.matrix[x,y] }} how can