[R] filled.contour as image

David Winsemius dwinsemius at comcast.net
Wed Jun 10 14:57:50 CEST 2009


The image function in package Matrix plots a color legend by default.

Searching on what seemed like the obvious strategy "image legend" in R  
Site Search would have identified this and a huge number of other  
alternatives, of which Lemon's color2D.matplot is the tenth.

-- 
David Winsemius


On Jun 10, 2009, at 5:28 AM, Muri Soares wrote:

> Hi,
>
> Is there a way to make the filled.contour() function produce a plot  
> similar to the image() function? i.e. not have smooth contours but  
> rather distinct "squares" corresponding to the different cells of  
> the matrix. The reason I ask is because since image doesn't have an  
> option to display colour bars it is a lot less useful.
>
> Cheers
>
> Muri Soares
> Department of Maths and Applied Maths
> University of Cape Town
> South Africa
>
>
> 	[[alternative HTML version deleted]]

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list