User`s guide
Add Components to a Programmatic GUI
• “Axes” on page 11-39
Commonly Used Properties
The most commonly used properties n eeded to describe an axes are shown
in the f ollowing ta ble:
Property Values Description
HandleVisibility
on
, callback, off. Default is
on.
Determines if an object’s handle
is visible in its parent’s list
of children. For axes, set
HandleVisibility to call bac k
to protect them from command
line operations.
NextPlot add, replace,
replacechildren.Default
is
replace
Specifies whether plotting adds
graphics, replaces graphics and
resets axes properties to default,
or replaces graphics only.
Parent
Handle
Handle of the component’s
parentfigure,panel,orbutton
group.
Position
4-element v ector: [distance
from left, distance from bottom,
width, height].
Size of the component and its
location relative to its parent.
Units normalized, centimeters,
characters, inches, p ixel s,
points. Default is normal ized .
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 Axes Properties. Properties needed to control GUI
behavior are discussed in Chapter 12, “Code a Programmatic GUI”.
See commands such as the following for more information on axes o bjects:
plot, surf, line , bar, polar, pie, contour, imagesc,andmesh.
Axes
The following statement creates an axes with handle ah:
11-39