Re: [R] Creating Color Pallets

2013-05-13 Thread Adams, Jean
Nathan, See the help file on the funciton palette() ?palette For example, for windows, you can do this ... windows() palette(c("#00", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7", "#FF")) plot(1:9, 1:9, pch=16, cex=8, col=1:9) Jean On Mon, May 13, 2013

[R] Creating Color Pallets

2013-05-13 Thread Nathan Barber - NOAA Federal
I am trying to create my own color pallet, consisting of 18 hexadecimal colors. I'm having trouble figuring out what to use to define/display them. ColorRampPallet can only take 3 colors so I was hoping to somehow create a palette then point to that pallet. Any suggestions? Thanks -- Nathan B