On 08/06/2011 03:46 AM, SavageMaDaMe wrote:
Hi- I am trying to plot a matrix of categorical values across time using
color to represent each individual factor. For example:
1982 1983 1984 1985 1986 1987
119 19 68 68 19 19 68
268 68 19 19 68 68 19
326 26
.gov
> CC: r-help@r-project.org
> Subject: Re: [R] plotting many unique colors with categorical data
>
> That's far too many to easily distinguish by color, especially if they
> need to be
> distinct, and not levels within a larger class. For the latter, you could get
> by
That's far too many to easily distinguish by color, especially if they
need to be
distinct, and not levels within a larger class. For the latter, you could get
by with say 10 shades of red, 10 shades of blue, etc for related factors.
But it doesn't sound like that's what you have. I don't think the
If you go to color brewer (http://colorbrewer2.org/) they don't have
any color sequences above about 12 to provide separation. 75 is
probably way too many, especially considering that a portion of the
population is color blind and other can not see some of the
gradations. You can create a pallet
Hi- I am trying to plot a matrix of categorical values across time using
color to represent each individual factor. For example:
1982 1983 1984 1985 1986 1987
119 19 68 68 19 19 68
268 68 19 19 68 68 19
326 26 34 34 26 26 26
457 34
5 matches
Mail list logo