Re: [R] color scale to label a plot

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Fri 16 Jul 2004 - 02:42:09 EST

>>>>> "Anne" == Anne Piotet <anne.piotet@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



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 16 02:58:05 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:36:35 EST