ColorBrewer in JFreeChart ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
chidochipotle
Posts: 2
Joined: Thu Feb 14, 2008 9:37 pm

ColorBrewer in JFreeChart ?

Post by chidochipotle » Thu Feb 14, 2008 10:01 pm

Hi:

Found JFreeChart yesterday an love it so far My only observation would be about the colors
Java's default colors are not user friendly, they can be "hard to see", or in a more technical language they are isoluminant saturated garish neon colors

(Sorry for the following links had to take the dots and achtetepe part since I am a new user [EDIT by RichardWest: I added the urls for simplicity])

We had the same problem in netlogo:
http://ccl.northwestern.edu/netlogo/
and we fixed it using ColorSchemes
http://ccl.northwestern.edu/~dkor/Code/ ... index.html
http://ccl.northwestern.edu/~dkor/extensions/palette/
from ColorBrewer:
http://www.colorbrewer.org/

You can get the colors in some java format from my webpage
http://ccl.northwestern.edu/~dkor/Code/ ... getSrc.zip

or directly in a great excel sheet from Dr's Brewer page:
http://www.personal.psu.edu/cab38/Color ... dates.html

Here is a paper about it if you want to have fun reading:
http://www.geography.wisc.edu/~harrower ... er2003.pdf
Lot's more where that came from:
http://scholar.google.com/scholar?q=colorbrewer

Daniel

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Fri Feb 15, 2008 6:13 am

Hope you don't mind, but I edited your post to put in all the URLs. It was too painful trying to copy them into my address bar. All the links are valid.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

dlucas
Posts: 19
Joined: Sat Dec 29, 2007 5:07 am
Location: Boston (USA)

Post by dlucas » Tue Feb 19, 2008 6:51 am

Great post! Thanks for the info :D

I spent about 3 hours tonight incorporating some of Dr. Brewer's color schemes into my charts.
Best regards,

Don

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Feb 19, 2008 8:04 am

Yes, thanks for the links, they are really helpful.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked