You might take a look at the RColorBrewer package.

Sarah

On Fri, Aug 8, 2014 at 9:26 AM, carol white <wht_...@yahoo.com> wrote:
> Hi,
> Is there any way to take one color of each color family from a color palettes 
> like rainbow? For ex, if there are different blues differentiated by 
> intensity, hue etc, taking one of them. In this case, when using rainbow(n), 
> then how to select 1 color of each family, for ex 1 blue, 1 red etc? It 
> doesn't matter which intensity, hue etc is taken as long as 1 color from each 
> family is taken.
>
>
> Thanks
>
> Carol

-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to