On Fri, Aug 6, 2010 at 3:33 PM, Damon McDougall <d.mcdoug...@warwick.ac.uk>wrote:
> Hi all, > > Don't know if anybody else has found a colormap that is aesthetically > pleasing and prints well in black and white. I found one after a lot of > Googling. Perhaps useful for plotting figures in journals that charge a lot > for colour figures. I got the colormap from: > http://ieeexplore.ieee.org/iel5/74/22101/01028735.pdf%3Farnumber%3D1028735 > > I decided to code it up (see attached text file for the cdict). If anybody > finds it useful, maybe it could go into the default colormaps that ship with > matplotlib. > > > > > Regards, > -- Damon > > -------------------------- > Damon McDougall > Mathematics Institute > University of Warwick > Coventry > CV4 7AL > d.mcdoug...@warwick.ac.uk > > Actually, I have been looking at a somewhat related problem. It might be a useful feature in matplotlib.color to provide a function that can take a colormap and produce a grayscale version of it. In my limited amount of research, I have found that one could convert the rgb values into hsv or hsl and use the "value" or "lightness" respectively for the grayscale value. I forget which one was aesthetically better, though. Ben Root
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel