Re: R-beta: Plotting: numeric 'col' colors; col=0, col=1, .. | Nice "funclet"

Thomas Lumley (thomas@biostat.washington.edu)
Mon, 14 Jul 1997 09:16:44 -0700 (PDT)


Date: Mon, 14 Jul 1997 09:16:44 -0700 (PDT)
From: Thomas Lumley <thomas@biostat.washington.edu>
To: R-help@stat.math.ethz.ch
Subject: Re: R-beta: Plotting: numeric 'col' colors;  col=0, col=1, .. | Nice "funclet"
In-Reply-To: <199707141307.PAA00838@sophie.ethz.ch>

> 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@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=