On Nov 19, 2007 10:08 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> Bryan Fodness wrote:
> > I would like to use pcolor with the colors going from white (zero
> > values) to black (largest value).

> pcolor(a, shading = 'flat', cmap=cm.binary)

It may not be a binary map you want (that has just two colors) but a
reversed grayscale map which is continuous from white to black, in
which case you would use cmap=cm.gray_r

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to