Dear useRs, I have 44 symmetrical matrix ; then I use image(log(my.matrix)) to visualise it. Is there any 'simple' way to add text labels into each cell lie on diagonal of the image plot? Thanks for any pointers... Cheers, Andrej
Hi Andrej Kastrin wrote:> Dear useRs, > > I have 44 symmetrical matrix ; then I use > > image(log(my.matrix)) to visualise it. > > Is there any 'simple' way to add text labels into each cell lie on > diagonal of the image plot? Thanks for any pointers...Do you mean something like ...? m <- matrix(rnorm(100), ncol=10) image(m) text(0:9/9, 0:9/9, 0:9) Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz stat.auckland.ac.nz/~paul