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

jgarcia at ija.csic.es jgarcia at ija.csic.es
Wed May 28 23:14:36 CEST 2008


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
------



More information about the R-help mailing list