|
From: John H. <jdh...@ac...> - 2005-09-07 12:59:18
|
>>>>> "Christian" == Christian Kristukat <c.k...@ho...> writes:
Christian> Thanks. I did not understand the meaning of 'extent'.
Christian> Another thing I could not find which is probably
Christian> possible as well: How can I display a label for the
Christian> colorbar (not ticklabel)?
colorbar returns an Axes instance for the colorbar, so you can use any
of the Axes methods described at
http://matplotlib.sf.net/matplotlib.axes.html#Axes
cax = colorbar()
cax.set_title('A title')
cax.set_ylabel('ylabel')
cax.set_xlabel('xlabel')
or if your prefer "setp" style args
cax = colorbar()
setp(cax, title='A title', ylabel='ylabel', xlabel='xlabel')
JDH
|