R-beta: Plotting: numeric 'col' colors; col=0, col=1, .. | Nice "funclet"
Thomas Lumley
thomas at biostat.washington.edu
Mon Jul 14 18:16:44 CEST 1997
> colors() gives a character vector of length 657 with possible color names.
>
> Quite nice; However,
>
> 1) how can I find out which of these correspond to col = 2.., K ?
>
> 2) Wouldn't it be nice if this map was mutable ?
This map probably shouldn't be mutable. As far as I can tell it is just a
translation of the official X11 color map (found in eg
/usr/lib/X11/rgb.txt). These color names are understood by quite a lot of
X software (including the motif() and openlook() drivers in S-PLUS).
Thomas Lumley
------------------------------------------------------+------
Biostatistics : "Never attribute to malice what :
Uni of Washington : can be adequately explained by :
Box 357232 : incompetence" - Hanlon's Razor :
Seattle WA 98195-7232 : :
------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the R-help
mailing list