Hi,

I have some data where I'd like almost all of it to be plotted with a
LinearSegmentedColormap that I've made, but I have a few special
values that I'd like to set to specific colors (white, in this case).
So, I made a LinearSegmentedColormap that works pretty well, but I'm
having trouble with the rest.  I found a nice-looking example at

http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values

But, it doesn't work for me.  In particular, it complains a lot about
_lut.  I'm using matplotlib 0.87.7 on an intel Mac running OS X and
python 2.4.

Can someone show me how to make a sentinel'd version of a
LinearSegmentedColormap?

Thank you,

-Michael Lerner

-- 
Biophysics Graduate Student
Carlson Lab, University of Michigan
http://www.umich.edu/~mlerner http://lernerclan.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to