Re: [R] library(Matrix) and image() colors?

2008-05-29 Thread jgarcia
Yes ,this work! Uhmm... Strange! Thanks, Javier -- > On 5/28/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Hi, >> I'm trying to produce a plot of an image of a Matrix, but I don't get >> other colors than the default grey scale: >> >> > image(Matrix(topo.matrix.2),col.regions=t

Re: [R] library(Matrix) and image() colors?

2008-05-28 Thread Deepayan Sarkar
On 5/28/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to produce a plot of an image of a Matrix, but I don't get > other colors than the default grey scale: > > > image(Matrix(topo.matrix.2),col.regions=topo.colors(100),colorkey=FALSE) > > this still is plotted in grey. >

[R] library(Matrix) and image() colors?

2008-05-28 Thread jgarcia
Hi, I'm trying to produce a plot of an image of a Matrix, but I don't get other colors than the default grey scale: > image(Matrix(topo.matrix.2),col.regions=topo.colors(100),colorkey=FALSE) this still is plotted in grey. Is there any mistake in my syntax? Thanks and regards, Javier -- ___