
Adding Components to the GUI
6-17
Slider Sliders accept numeric input within a specific range by
enabling the user to move a sliding bar, which is called a
slider or thumb. Users move the slider by clicking the
slider and dragging it, by clicking in the trough, or by
clicking an arrow. The location of the slider indicates a
percentage of the specified range.
List Box List boxes display a list of items and enable users to select
one or more items.
Pop-Up Menu Pop-up menus open to display a list of choices when users
click the arrow.
Axes Axes enable your GUI to display graphics (e.g., graphs
and images). Like all graphics objects, axes have
properties that you can set to control many aspects of its
behavior and appearance. See “Axes Properties” in the
MATLAB documentation and commands such as the
following for more information on axes objects: plot, surf,
line, bar, polar, pie, contour and mesh. See Functions —
By Category in the MATLAB documentation for a more
complete list.
Panel Panels group GUI components. By visually grouping
related controls, panels can make the user interface
easier to understand. A panel can have a title and various
borders.
Panel children can be user interface controls and axes as
well as button groups and other panels. The position of
each component within a panel is interpreted relative to
the panel. If you move the panel, its children move with it
and maintain their positions on the panel.
Component Description
Komentarze do niniejszej Instrukcji