From: "Ian Woloschin" <ian@woloschin.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Interrupt for Current Figure Change
Message-ID: <ef3860a.-1@webcrossing.raydaftYaTP>
Date: Thu, 1 Jun 2006 09:36:41 -0400
Lines: 9
NNTP-Posting-Host: 63.165.50.175
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:352865



Is it possible to detect when the current figure has changed through
an interrupt/callback?

I have a gui control figure that enables features (such as panning)
in other figures, but for simplicity, only one figure is active at
any given time. At this point, you need to go to the control figure
to specify the active figure, but I'd like for the control gui to
automatically update if the current figure switches from, say, figure
1 to figure 2.