[Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Bharathkrishna
By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for black. regards, kbk - This SF.Net email is sponsored by the

Re: [Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Eric Firing
Bharathkrishna wrote: By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for black. regards, kbk It sounds like what you are asking for is a reversed colormap, and all the standard

Re: [Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Bharathkrishna
That works just great. thanks a lot. On Sat, Jul 26, 2008 at 1:49 PM, Eric Firing [EMAIL PROTECTED] wrote: Bharathkrishna wrote: By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for