MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifikace Strana 171

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 216
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 170
GUI with Multiple Axes
5-5
For example, the Tag of the axes used to display the FFT is set to
frequency_axes. Therefore, within a callback, you access its handle with
handles.frequency_axes
Likewise, the Tag of the time axes is set to time_axes.
See “Managing GUI Data with the Handles Structure” on page 4-26 for more
information on the
handles structure. See “Plot Push Button Callback” on
page 5-6 for the details of how to use the handle to specify the target axes.
GUI Option Settings
There are two GUI option settings that are particularly important for this GUI:
Resize behavior:
Proportional
Command-line accessibility: Callback
Proportional Resize Behavior. Selecting Proportional as the resize behavior
enables users to change the GUI to better view the plots. The components
change size in proportion to the GUI figure size. This generally produces good
results except when extremes of dimensions are used.
Callback Accessibility of Object Handles. When GUIs include axes, handles should
be visible from within callbacks. This enables you to use plotting commands
Zobrazit stránku 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 215 216

Komentáře k této Příručce

Žádné komentáře