[R] filled.contour as image

Jim Lemon jim at bitwrit.com.au
Wed Jun 10 13:43:42 CEST 2009


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.
>
>   
Hi Muri,
Have a look at color2D.matplot in the plotrix package.

Jim




More information about the R-help mailing list