Re: colorbar title




"Christopher Hummersone" <wheely_chairs@xxxxxxxxxxx> wrote in message
news:g4b90m$4pv$1@xxxxxxxxxxxxxxxxxxxxx
Thanks for your reply Walter. However, I'm a little
confused. Having not used handles much (just adding
gca/gcf etc when required) I'm at a bit of a loss on how to
do this. If I enter:

cbar_axes = colorbar('peer',gca,...etc.);
get(cbar_axes)

I get an "invalid handle object" error message. Now I
appreciate that I'm probably doing something stupid, so
could you please point me in the right direction!?

Are you closing the figure containing the colorbar or removing the colorbar
before your call to GET? If so, the colorbar handle cbar_axes is no longer
a valid handle, which would give the error you mentioned.

If that's not the case, can you describe in more depth exactly what you're
doing when you receive this error, and give the full text of the error
message as well as the version you're using?

--
Steve Lord
slord@xxxxxxxxxxxxx


.



Relevant Pages

  • problems with "colorbar"
    ... probable bug with "colorbar" and need a solution. ... Later on I tried to close the colorbar by command line ... Here I get the ERROR MESSAGE " ... Unrecognized input or invalid parameter/value pair arguments." ...
    (comp.soft-sys.matlab)
  • Debug problem in a finite difference code
    ... I wrote this small code to calculate unsteady PDE but I got error message. ... I could not solve it because I am still beginer in using matlab The error message is: ... contourf; title('Saturation plot (contourf)') ...
    (comp.soft-sys.matlab)