Hi there,
Everytime I need this code, I don't know where to look for it. I hope google will find it from my page, and help other users.
The problem is: You need to label the colorbar in a plot, and you don't know how.
Solution:
set(get(h.colorbar,'YLabel'),'String','myLabel')
Leave your comments if you have a better idea.
Thanks