Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUi axes
Date: Mon, 28 Jan 2008 15:47:02 +0000 (UTC)
Organization: Konem Solutions
Lines: 22
Message-ID: <fnktdm$7h5$1@fred.mathworks.com>
References: <fnk7gd$hp1$1@fred.mathworks.com> <fnks2j$grp$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 1201535222 7717 172.30.248.38 (28 Jan 2008 15:47:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 28 Jan 2008 15:47:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:447943


"Hasan Alimli" <su.sayaci@hotmail.com> wrote in message 
<fnks2j$grp$1@fred.mathworks.com>...
> Any idea,please?

Just a thought
Instead of using one axes and using a subplot function, 
why dont you use 2 axes.
ex:
Drop down 2 axes from the guide menu on to your figure
Assuming the 2 axes are axes1 and axes2 respectively
In the pushbutton function use this;

axes(handles.axes1);%gives focus to first axes
imshow('image1.jpg');
drawnow;
axes(handles.axes2);%gives focus to second axes
imshow('image2.jpg');
drawnow;

HTH
Vihang