User`s guide

11 Lay Out a Programmatic GUI
ah = axes('Parent',fh,'Position',[ .15 .15 .7 .7]);
The Parent property specifies the handle fh of the parent figure. You can also
specify the parent as a panel or button group.
The
Units property interprets the Position property. This axes assumes
the d efault
Units property, no rmalized. This enables the axes to resize
automatically if the figure is resized. For more information about resizing,
see the documentatio n for or the
ResizeFcn property on the Figure Properties
reference page.
The
Position property specifies the location and size of the axes. In this
example, the axes is 70 percent of the width of the figure and 70 percent of
its height. It is positio ned 15 percent of the f igure width from the left of the
figure and 15 percent of the figure heightfromthebottom. Asthefigureis
resized the axes retains these proportions.
11-40