Path: news.mathworks.com!not-for-mail
From: "Hasan Alimli" <su.sayaci@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUi axes
Date: Wed, 30 Jan 2008 06:25:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <fnp581$ekf$1@fred.mathworks.com>
References: <fnk7gd$hp1$1@fred.mathworks.com>
Reply-To: "Hasan Alimli" <su.sayaci@hotmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1201674305 14991 172.30.248.37 (30 Jan 2008 06:25:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 30 Jan 2008 06:25:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1261318
Xref: news.mathworks.com comp.soft-sys.matlab:448243


Thank you for help,
It is solved!
*The problem was "subplot in GUI".
*The solution lies on the "panel",not "axes".
*Graphics/plots should be drawn into the "panel",not "axes".
*Put a panel with tag property "xyz".
*code is;
a1=subplot(1,2,1,'Parent',handles.xyz);
imshow(I)
a2=subplot(1,2,2,'Parent',handles.xyz);
imshow(Q)
*At the end of this part,"linkaxes" (which is the reason of 
using "subplot" instead of "two different axes") comes.
linkaxes([a1 a2],'xy')
*with this code the plot/show area can be fixed with panel 
sizes without complexity of properties of axes.
Thank you.