User`s guide

Create Figures for Programmatic GUIs
Property Values Description
Resize
on
, off.Defaultison. Determines if the user can
resize the figure window w ith
the mouse.
Toolbar
auto, none, figure.Default
is
auto.
Display or hide the default
figure toolbar.
none —donotdisplaythe
figure toolbar.
auto display the figure
toolbar, but remove it if
a user interface control
(
uicontrol)isaddedto
the f igure.
figure —displaythe
figure toolbar.
Units pixels, centimeters,
characters, i nche s,
normalized, points,Default
is
pixels.
Units of measurement used
to interpret position vector
Visible
on
, off.Defaultison. Determines whether a figure
is displayed on the screen.
For a complete list of properties and for more information about the properties
listed in the table, see the Figure Properties reference page.
The following statement names the figure My GUI, positions the figure on
thescreen,andmakestheGUIinvisiblesothattheusercannotseethe
components as they are added o r initialized. All other properties assume
their defaults.
f = figure('Visible','off','Name', 'My GUI',...
'Position',[360,500,450,285]);
11-7