[R] Changing the ranges for the axis in image()

Costas Vorlow K.E.Vorloou at durham.ac.uk
Tue Jan 11 14:28:38 CET 2005


Dear all,

I can not find/understand the solution to this from the help pages:

Say we have the following script:

 x<-matrix(c(1,1,0,1,0,1,0,1,1),3,3)
image(x)

How can I change the ranges on the vertical and horizontal axis to a 
range of my own or at least place a box frame around the image if I 
choose to use "axes=FALSE"?

Apologies for such a bsic question and thanks beforehand for your answers.




More information about the R-help mailing list