[R] color scale to label a plot
Martin Maechler
maechler at stat.math.ethz.ch
Thu Jul 15 18:42:09 CEST 2004
>>>>> "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