[R] color scale to label a plot

Anne anne.piotet at urbanet.ch
Thu Jul 15 18:44:23 CEST 2004


Thanks! That is what I was looking for!

Anne

----- Original Message ----- 
From: "Martin Maechler" <maechler at stat.math.ethz.ch>
To: "Anne" <anne.piotet at urbanet.ch>
Cc: "R list" <r-help at stat.math.ethz.ch>
Sent: Thursday, July 15, 2004 6:42 PM
Subject: Re: [R] color scale to label a plot


> 
> >>>>> "Anne" == Anne Piotet <anne.piotet at urbanet.ch>
> >>>>>     on Thu, 15 Jul 2004 17:50:17 +0200 writes:
> 
>     Anne> Hello R-helpers
>     Anne> I want to put a color scale in a plot:
>   
>     Anne> I've got an xy plot where the values of the response
>     Anne> (z=f(x,y)) is symbolically given by colors (like heat
>     Anne> or rainbow color scale) I would like to put such a
>     Anne> scale with apprpriates labels in the plot, so as to
>     Anne> facilitate the interpretation (like in a finite
>     Anne> elements result plot) How is taht possible?
> 
> Use
>          filled.contour()   
> or also  image(*); contour(*, add=TRUE)
> 
> Martin
> 
>   
>     Anne> [[alternative HTML version deleted]]
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Anne, have you ever tried to get rid of this?  
> 
>       --> http://www.R-project.org/mail.html and look for "HTML"
> 
> Bonnes salutations de Zurich,
> Martin Maechler
>




More information about the R-help mailing list