User`s guide
11 Lay Out a Programmatic GUI
Property Values Description
Parent
Handle
Handle of the component’s parent
figure, panel, or button group.
Position
4-element vector:
[distanc e from left,
distance from bottom,
width, height].
Default is [0, 0, 1,
1].
Size of the component and its
location relative to its parent.
Title
String Component label. To display
the & character in a label, use
two
& characters in the string.
The words
remove, default,
and
factory (case sensitive) a re
reserved. To use one of these as a
label, prepend a backslash (
\)to
the string. For example,
\remove
yields remove.
TitlePosition lefttop, centertop,
righttop,
leftbottom,
centerbottom,
rightbottom.Default
is
lefttop.
Location of title string in relation
to the panel or button group.
Units normalized,
centimeters,
characters, inches,
pixels, point s.
Default is
normalized.
Units of measurement used to
interpret pos ition vector
For a complete list of properties and for more information about the properties
listed in the table, see Uipanel Properties and Uibuttongroup Properties
documentation. Properties needed to control GUI behavior are discussed in
“Write Code for Callbacks” on page 12-7.
11-34