Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Focus loss using keypresses in 'listbox' GUI control
Date: Mon, 12 May 2008 15:18:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <g09n3b$ik6$1@fred.mathworks.com>
References: <g09jf4$bat$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210605483 19078 172.30.248.35 (12 May 2008 15:18:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 12 May 2008 15:18:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 939004
Xref: news.mathworks.com comp.soft-sys.matlab:467922



I have a similar setup where you can scroll through
variables in a list and they are plotted, and it works fine.
(With no need to re-set focus). Maybe try using the image
command instead of imshow, and specify the axes as a
property of the image instead of using the axes command.