[R] Adding Scale to image

2007-01-30 Thread Peter Robinson
Dear List, I have used the image() function to show a heat plot of a matrix of data whose intensity is color-coded. I have two questions that I have not been able to solve by using the help system or google. 1) How can one add a scale/legend that shows what numerical values a given color corr

Re: [R] Adding Scale to image

2007-01-30 Thread Vladimir Eremeev
,cex=2) Dr. med. Peter Robinson wrote: > > 2) How can one "flip" the rows (i.e., change the order of the rows in > the image plot)? > By flipping the source matrix, displayed with "image" image(matrix.result[nrow(matrix.result):1,]) -- View this message in c

Re: [R] Adding Scale to image

2007-01-31 Thread Jim Lemon
Peter Robinson wrote: > Dear List, > > I have used the image() function to show a heat plot of a matrix of data > whose intensity is color-coded. I have two questions that I have not > been able to solve by using the help system or google. > > 1) How can one add a scale/legend that shows what

Re: [R] Adding Scale to image

2007-01-31 Thread Vladimir Eremeev
ws what numerical values a > given color corresponds to? > -- View this message in context: http://www.nabble.com/-R--Adding-Scale-to-image-tf3142258.html#a8727371 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.