[R] Colormap that look good in gray scale
Greg.Snow at imail.org
Wed Mar 4 21:08:04 CET 2009
This does not fully answer your question, but there is a function col2grey (or col2gray) in the TeachingDemos package that will help you see what a given color plot will look like (approximately) when printed/photocopied in grayscale.
For your example you would do something like:
To view the grayscale version of the plot, then try with different colors until you are happy with the results.
Hope this helps,
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of thibert
> Sent: Wednesday, March 04, 2009 11:23 AM
> To: r-help at r-project.org
> Subject: [R] Colormap that look good in gray scale
> I am looking for a colormap (in color) that look like a gradient in
> scale. It is to allow people without color printer to print the color
> and have something meaningful in gray scale.
> It can be something like this
> but with an arbitrary number of different colors, not just six.
> View this message in context: http://www.nabble.com/Colormap-that-look-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help