MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 528

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 527
11 Lay Out a Programmatic GUI
ah = axes('Parent',fh,'Position',[ .15 .15 .7 .7]);
The Parent property specifies the handle fh of the parent figure. You can also
specify the parent as a panel or button group.
The
Units property interprets the Position property. This axes assumes
the d efault
Units property, no rmalized. This enables the axes to resize
automatically if the figure is resized. For more information about resizing,
see the documentatio n for or the
ResizeFcn property on the Figure Properties
reference page.
The
Position property specifies the location and size of the axes. In this
example, the axes is 70 percent of the width of the figure and 70 percent of
its height. It is positio ned 15 percent of the f igure width from the left of the
figure and 15 percent of the figure heightfromthebottom. Asthefigureis
resized the axes retains these proportions.
11-40
Zobrazit stránku 527
1 2 ... 523 524 525 526 527 528 529 530 531 532 533 ... 758 759

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

Žádné komentáře