[R] repeating colors in graph 2
    James MacDonald 
    jmacdon at med.umich.edu
       
    Fri Oct 24 14:25:04 CEST 2003
    
    
  
Hmmm, I get the same results either way. Regardless of results, is there
a reason why my suggestion is 'invalid'?
TIA,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
>>> Thomas Lumley <tlumley at u.washington.edu> 10/23/03 04:26PM >>>
On Thu, 23 Oct 2003, James MacDonald wrote:
> I believe you want plot(blah blah, col=palette(rainbow(13)))
>
No.  palette() sets the default palette, so
eg
> palette(rainbow(13))
> plot(1:13,col=1:13)
will plot in the new palette.
	-thomas
    
    
More information about the R-help
mailing list