Re: [R] problems with image.plot()

2011-07-29 Thread David Winsemius
On Jul 29, 2011, at 6:38 PM, Sumukh Sathnur wrote: Hi all, I used image.plot() to create a heat map of a matrix: as.matrix(read.table("Matrix.txt", sep="\t"))->x HeatBrk<-seq(5,25,2.5) MyCol= gray((7:0)/7) library(fields) image.plot(x, col=MyCol, breaks=HeatBrk, legend.shrink=0.3) dev.copy(d

[R] Problems with image.plot

2010-05-07 Thread fernando espindola
Hi R-users, I try to put image legend via image.plot function, but I do not know put this in log scale. The last line of code put legend in linear scale, but I want put this in log scale. This is a image of the ocean color web site 8-day composite L3 4KM. Anybody colud get me advise please. This i