Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi064.nbdc.sbc.com.POSTED!ffbda4aa!not-for-mail
Reply-To: "Nasser Abbasi" <nma@12000.org>
From: "Nasser Abbasi" <nma@12000.org>
Newsgroups: comp.soft-sys.matlab
References: <g53474$7bc$1@fred.mathworks.com> <g535n9$rao$1@fred.mathworks.com>
Subject: Re: Plot Titles With GUIDE
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
Message-ID: <339dk.11852$cW3.7243@nlpi064.nbdc.sbc.com>
NNTP-Posting-Host: 75.38.7.50
X-Complaints-To: abuse@prodigy.net
X-Trace: nlpi064.nbdc.sbc.com 1215634751 ST000 75.38.7.50 (Wed, 09 Jul 2008 16:19:11 EDT)
NNTP-Posting-Date: Wed, 09 Jul 2008 16:19:11 EDT
Organization: at&t http://my.att.net/
X-UserInfo1: Q[RGGYKGFZBWG\QSNKKLN\LI[B]NQH]KKY\@LWQHBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Wed, 9 Jul 2008 13:18:42 -0700
Xref: news.mathworks.com comp.soft-sys.matlab:478475




"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