|
"David Doria" <daviddoria@gmail.com> wrote in message
news:g535n9$rao$1@fred.mathworks.com...
> ah, so i was confused by using imshow as my first example in
> a GUI. The title worked fine with a normal plot. Still, it
> seems you can either use the real title or fix a static text
> box - is it just preference? Or is one better than the other?
You can use title with imshow() also, but indirectly.
You can use the options 'Parent',h to tell imshow() which axes with the
handle 'h' to display on.
Then use title(h,'the title') to put a title on the axes which now contains
the output from imshow()
Nasser
|