Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUI question
Date: Mon, 18 Feb 2008 04:42:03 +0000 (UTC)
Organization: Konem Solutions
Lines: 20
Message-ID: <fpb2ar$rg6$1@fred.mathworks.com>
References: <fpaofr$ru7$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203309723 28166 172.30.248.38 (18 Feb 2008 04:42:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 18 Feb 2008 04:42:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:452027


"Phil Au" <philipawt@gmail.com> wrote in message
<fpaofr$ru7$1@fred.mathworks.com>...
> Hi All,
> 
> I got an question about my GUI matlab,
> 
> If I got two axes, if I want to one of the axes to display 
> an img, how can I write it in code, pls,
> 
> many thx...
> 
Answer to your first question

axes(handles.axes1); %assuming axes1 is the name of the
first %axes
imshow(yourimage);

HTH
VIhang