Wee-Jin Goh wrote:
> 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?
> 
Perhaps color2D.matplot will suit you. It automatically shows the row 
and column indices on the plot in the same order as conventional matrix 
displays.

Jim

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to