Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to create figures and dock them into my main GUI figure?
Date: Tue, 18 Sep 2007 12:13:15 +0000 (UTC)
Organization: Atlantic Inertial Systems
Lines: 35
Message-ID: <fcofcq$coa$1@fred.mathworks.com>
References: <favbc6$5uj$1@fred.mathworks.com> <fbqjt8$ea8$1@fred.mathworks.com> <fcn80f$15l$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1190117595 13066 172.30.248.37 (18 Sep 2007 12:13:15 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 18 Sep 2007 12:13:15 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1091020
Xref: news.mathworks.com comp.soft-sys.matlab:429088



"G.A.M. " <x0zero@gmail.com> wrote in message
<fcn80f$15l$1@fred.mathworks.com>...
> "Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in
> message <fbqjt8$ea8$1@fred.mathworks.com>...
> > "G.A.M. " <x0zero@gmail.com> wrote in message <favbc6
> > $5uj$1@fred.mathworks.com>...
> > > Is it possible (and relatively easy) to create figures 
> > that
> > > dock into a parent figure? (I don't want to dock my 
> > figures
> > > to the Matlab workspace.)
> > > 
> > > How do I dock my own figures into a main (parent) figure?
> > > Thanks.
> > 
> > Hi,
> > 
> > I think you can use subplot command to plot multiple graphs 
> > in same window (figure)... 
> > 
> > If you feel this command is noe suitable for your 
> > application give some more idea about your requirement..
> > 
> > Regards,
> > Ashwini
> > 
> 
> Docking is different from using subplots. I want to
> programmatically create a figure (a window) and specify that
> it should be docked within another figure I have created
> earlier. Can Matlab do this? Thanks.

use:
set(<figurename>, 'WindowStyle', 'docked')