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
--
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 =
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
On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE chaoyue...@gmail.com 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
On Sat, Nov 10, 2012 at 9:41 AM, Paul Hobson pmhob...@gmail.com wrote:
On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE chaoyue...@gmail.com 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
On Sat, Nov 10, 2012 at 6:25 AM, Chao YUE chaoyue...@gmail.com 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
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
damon.mcdoug...@gmail.comwrote:
On Sat, Nov 10, 2012 at 9:41 AM, Paul Hobson pmhob...@gmail.com wrote:
On Sat, Nov 10, 2012 at 7:07 AM, Chao YUE chaoyue...@gmail.com wrote: