Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!33g2000vbe.googlegroups.com!not-for-mail
From: Joe Duchtel <duchtel@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to suppress figure() to bring figure to foreground?
Date: Wed, 16 Sep 2009 12:39:18 -0700 (PDT)
Organization: http://groups.google.com
Lines: 34
Message-ID: <2cf3d697-3a3e-4ca0-bb70-8cc3118fc7c5@33g2000vbe.googlegroups.com>
References: <cd62214e-2635-4f6d-a367-eb8fbfaef57b@o36g2000vbl.googlegroups.com> 
	<h8qufp$40a$1@fred.mathworks.com> <8c9db9f2-45cd-46e2-9fd3-8f6ff4aaf027@p23g2000vbl.googlegroups.com> 
	<h8r743$98v$1@fred.mathworks.com>
NNTP-Posting-Host: 192.88.212.32
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1253129958 913 127.0.0.1 (16 Sep 2009 19:39:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 16 Sep 2009 19:39:18 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 33g2000vbe.googlegroups.com; posting-host=192.88.212.32; 
	posting-account=_ogVpwoAAAATKqqGum5BwqKuBv_Be3E_
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
	.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:570894


On Sep 16, 1:26 pm, "Steven Lord" <sl...@mathworks.com> wrote:
> "Joe Duchtel" <duch...@gmail.com> wrote in message
>
> news:8c9db9f2-45cd-46e2-9fd3-8f6ff4aaf027@p23g2000vbl.googlegroups.com...
>
> *snip*
>
> > Thanks for the information.  I determined the handles of my figures
> > using the get(0, 'Children') but when I do a figure(hFigure) to make a
> > certain figure my active figure, it is still moved to the foreground.
> > The 'Visible' will just hide the figure and turning that back 'on'
> > also moves it to the foreground.
>
> Yes, this is expected and documented behavior, as described in the fourth
> paragraph of the Description section of the FIGURE reference page:
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html
>
> The "Making a Figure Current" section of that documentation describes how to
> make a figure current without changing its stacking order.
>
> --
> Steve Lord
> sl...@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ:http://matlabwiki.mathworks.com/MATLAB_FAQ

Hello -

Great ... the set(0, 'CurrentFigure', hFigure) works perfectly!

Thanks a lot to everybody!
Joe