[R] Tweaking my plot of matrix as image

Wee-Jin Goh wjgoh at brookes.ac.uk
Thu Apr 12 10:55:21 CEST 2007


Greetings list,

I have a rectangular 20 x 20 matrix with values in the range of [0 ,  
1]. I'd like to plot it as an image. To that end, I have used the  
image() function that seems to do what I want. Now, I just want to  
tweak it to look perfect. So here is my question:

At the moment, the values of the axis range from [0, 1]. I want it to  
show the row and column of the matrix. How do I do that?

  Thanks in advance.

Wee-Jin



More information about the R-help mailing list