[R] modify rectangle color from image

2007-01-24 Thread Saurav Pathak
Hi, I need some suggestion on how I could modify the color on some rectangle that I have created using image. In other words, I have a 5x5 matrix, say, m. m - matrix(rnorm(25), nrow=5) I create a grid of rectangles by: image(m) Now I want to change the color of rectangle

Re: [R] modify rectangle color from image

2007-01-24 Thread Saurav Pathak
Thanks, Saurav Saurav Pathak [Wed, Jan 24, 2007 at 04:37:20PM -0500]: + Hi, + + I need some suggestion on how I could modify the color on some + rectangle that I have created using image. + + In other words, I have a 5x5 matrix, say, m. + + m - matrix(rnorm(25), nrow=5) +

Re: [R] modify rectangle color from image

2007-01-24 Thread Marc Schwartz
On Wed, 2007-01-24 at 16:37 -0500, Saurav Pathak wrote: Hi, I need some suggestion on how I could modify the color on some rectangle that I have created using image. In other words, I have a 5x5 matrix, say, m. m - matrix(rnorm(25), nrow=5) I create a grid of rectangles by: