On 02/07/2011 06:37 PM, Alaios wrote:
Dear all I would like to plot the contents of a matrix as an Image. I found
this code here http://www.phaget4.org/R/image_matrix.html but this is not only
what I want. Instead of having inside every cell the color of the cell it would
be nice to have also the arithmetic value over the background color.
Having only the color sometimes does not make it clear to understand what is
the value each cell has .. so I was thinking to combine colors and text inside
every cell.
Hi Alex,
Check out color2D.matplot (plotrix) in particular the show.values argument.
Jim
______________________________________________
R-help@r-project.org 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.