[R] Image to plot

Alaios alaios at yahoo.com
Mon Feb 7 13:05:05 CET 2011


Thanks a lot. That did the trick :)

--- On Mon, 2/7/11, Jim Lemon <jim at bitwrit.com.au> wrote:

> From: Jim Lemon <jim at bitwrit.com.au>
> Subject: Re: [R] Image to plot
> To: "Alaios" <alaios at yahoo.com>
> Cc: R-help at r-project.org
> Date: Monday, February 7, 2011, 9:39 AM
> 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
> 
>



More information about the R-help mailing list