Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p25g2000hsf.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Image name........ imshow()
Date: Sat, 1 Mar 2008 09:14:52 -0800 (PST)
Organization: http://groups.google.com
Lines: 71
Message-ID: <cde08222-0624-4845-8bc0-53dcc3d88c90@p25g2000hsf.googlegroups.com>
References: <fq49s2$eup$1@fred.mathworks.com> <fq4ake$rk2$1@fred.mathworks.com> 
NNTP-Posting-Host: 75.186.67.199
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1204391693 16358 127.0.0.1 (1 Mar 2008 17:14:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 1 Mar 2008 17:14:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p25g2000hsf.googlegroups.com; posting-host=75.186.67.199; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 
Xref: news.mathworks.com comp.soft-sys.matlab:454769


On Feb 29, 4:56=A0pm, ImageAnalyst <imageanal...@mailinator.com> wrote:
> On Feb 29, 5:04=A0am, "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote:
>
>
>
>
>
> > "Bryan " <cssm...@gmail.com> wrote in message <fq4ake$rk2
>
> > $...@fred.mathworks.com>...
>
> > > "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote in
> > message
> > > <fq49s2$eu...@fred.mathworks.com>...
> > > > Hello,
> > > > I have displayed images in GUI using AXES....
> > > > The problem that is coming is when i am displaying the
> > > > image along with that the path(From where the image
> > was
> > > > read) of the image also gets printed above the
> > image....
> > > > I dont want the the path to be printed can anyone help
> > in
> > > > this....
>
> > > i am not sure what, exactly, is going on in your code. =A0
> > if
> > > you could post your code, it might help. =A0short of that,
> > > maybe you can simply have no text displayed above your
> > image
> > > if you add this to your code:
>
> > > title([]);
>
> > > this just sets the title string to an empty vector, so
> > > nothing will be displayed there.
>
> > > hth,
> > > bryan
>
> > Hiee Bryan,
> > I am attaching a small piece of code for where i dont want
> > the image name to be displayed.....
>
> > path=3D'C:\StorageTemp\tempBMPFile\deepika2.bmp';
> > h1=3Dsubplot('Position',[0.49 0.63 0.1 0.16]);
> > a=3Dchar(path)
> > imshow(a);
> > .........................- Hide quoted text -
>
> > - Show quoted text -
>
> How about just:
>
> fullImageFileName =3D 'C:\StorageTemp\tempBMPFile\deepika2.bmp';
> imageArray =3D imshow(fullImageFileName, []);
> % Set a static text label above the axes with the filename if you wish
> set(handles.txtFileName, 'string', fullImageFileName );
>
> Regards,
> ImageAnalyst- Hide quoted text -
>
> - Show quoted text -

Sorry - forgot the imread - should have been:

fullImageFileName =3D 'C:\StorageTemp\tempBMPFile\deepika2.bmp';
imageArray =3D imread(fullImageFileName);
imshow(imageArray , []);
% Set a static text label above the axes with the filename if you wish
set(handles.txtFileName, 'string', fullImageFileName );