User`s guide

Add Components to the GUI
Property Values Description
NextPlot add, replace,
replacechildren.
Default is
replace
Specifies whether
plotting adds graphics,
replaces graphics and
resets axes properties
to default, or replaces
graphics only.
Position 4-element vector:
[distan c e from left,
distance from bottom,
width, height].
Size of the component
and its location relative
to its parent.
Units
normalized,
centimeters,
characters, inches ,
pixels, points.
Default is
normalized.
Units of measurement
used to interpret
position vector
For a complete list of properties and for more information about the properties
listed in the table, see Axes Properties .
See commands such as the following for more information on axes o bjects:
plot, surf, line , bar, polar, pie, contour, imagesc,andmesh.
Many of these graphing functions reset axes properties b y default, according
to the setting of its
NextPlot property, which can cause unwanted behavior in
a GUI, such as resetting axis limits and removing axes context menus and
callbacks. See the next section and also “Add Axes” on page 11-38 in the
Creating GU Is Programmatically section for information on details on setting
the
NextPlot axes property.
Axes
To create an axes as shown in the following figure:
6-63