Skip to content
Prev 325105 / 398503 Next

Selecting divergent colors

Hi,
On Jun 10, 2013, at 3:46 PM, Adams, Jean wrote:

            
It sounds like Brian is looking for categorical coloring rather than divergent coloring.  The Glasbey LUT works really well in image processing for just such purposes.  It would be easy to use that within R for your lines.

http://www.bioss.ac.uk/people/chris/colorpaper.pdf

You might be able to snag the color table out of this collection of Java plugins for ImageJ software. 

http://www.dentistry.bham.ac.uk/landinig/software/morphology.zip

Within that archive is a text file called glasbey.lut which is a simple text file of RGB color values.

Cheers,
Ben
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org