Thanks, I think cbar.ax.invert_yaxis() is what I am looking for.
Chao
On Sat, Nov 10, 2012 at 4:51 PM, Damon McDougall
wrote:
> On Sat, Nov 10, 2012 at 9:41 AM, Paul Hobson wrote:
> > On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE wrote:
> >>
> >> Dear all,
> >>
> >> Is there a way to reverse the c
On Sat, Nov 10, 2012 at 6:25 AM, Chao YUE wrote:
> Dear all,
>
> In the colorbar label for contourf or imshow plot, I want the effect like
> that in the attached figure. Is there some way to move the position of
> colorbar label? could someone give any hints?
Chao,
It's not clear what you mean.
On Sat, Nov 10, 2012 at 9:41 AM, Paul Hobson wrote:
> On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE wrote:
>>
>> Dear all,
>>
>> Is there a way to reverse the colorbar label, the default is small value at
>> the bottom and big value at the top, yet I would like the big value at the
>> bottom and sm
On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE wrote:
>
> Dear all,
>
> Is there a way to reverse the colorbar label, the default is small value at
> the bottom and big value at the top, yet I would like the big value at the
> bottom and small value at the top.
>
> all code in pylab mode.
>
> import
Hi, I once was indicated a way to extract colors from exsiting colormaps:
I just answered a question on Stackoverflow and maybe you can have a look.
all code in pylab mode
a = np.arange(100).reshape(10,10)
#here is the image with white and black end
imshow(a,cmap=mat.cm.binary)
colorbar()
#we e
Dear all,
Is there a way to reverse the colorbar label, the default is small value at
the bottom and big value at the top, yet I would like the big value at the
bottom and small value at the top.
all code in pylab mode.
import numpy as np
import matplotlib as mat
a = np.arange(100).reshape(10,1
Dear all,
In the colorbar label for contourf or imshow plot, I want the effect like
that in the attached figure. Is there some way to move the position of
colorbar label? could someone give any hints?
Thanks!
Chao
--
*