Bryan Fodness wrote:
> I would like to use pcolor with the colors going from white (zero
> values) to black (largest value).
>
> I am using,
>
> pcolor(a, shading = 'flat')
> colorbar()
>
> I do not see how to do this.
>
>
>   
pcolor(a, shading = 'flat', cmap=cm.binary)

-Jeff


-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/PSD1        FAX   : (303)497-6449
325 Broadway                Boulder, CO, USA 80305-3328


-------------------------------------------------------------------------
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