Labeling colorbar



Hello,
I frequently plot 2-D images where the corresponding colorbar values
have units that I would like to identify. (ie. after I plot an image
I do xlabel('millimeters'), ylabel('millimeters') ... but for the
colorscale, I am stuck labelling the units using gtext and then
rotating the object -90 deg). I have searched quite a bit in matlab
help and on the web, but am not able to find a function that
automatically labels the color axis. Am I missing an obvious command?
Thanks.
.



Relevant Pages

  • how to update colorbar in different subplot?
    ... should be updated every few loops without creating a new window. ... images have a common color scale so I just need a single colorbar. ... Since the caxis of the images varies during the simulation, ...
    (comp.soft-sys.matlab)
  • Save images with colorbars
    ... I am working with images ... For an image without colorbar I would just use ... imagesc constantly opening windows. ...
    (comp.soft-sys.matlab)
  • Re: Saving MATLAB images with a colorbar
    ... I ran into difficulty saving images with a colorbar, ... PRINT the plots ... Is there a more effecient method for writing the images? ...
    (comp.soft-sys.matlab)
  • Re: Colormaps with multiple axes
    ... SC does circumvent the problem. ... You just need to use it on all the images, ... Since 'sc' does not seem to circumvent my problem, any further hints? ...
    (comp.soft-sys.matlab)