Creating Graphical User Interfaces |
Add the Components
Select the panel and move it to where it appears in the original sketch. Resize the panel to approximately 1-by-1.5 inches by selecting it with the mouse, and then clicking and dragging the lower-left corner. Now, move the three push buttons into the panel. As you move each push button into the panel, GUIDE highlights the panel to indicate that the panel is the potential parent of the push button. The following figure shows the highlight.
Note Panels, button groups, and figures can all be parents of component objects and display this highlight when you move a component into them. |
Arrange the components as shown in the following figure. Resize the axes component to approximately 2-by-2.
Set the GUI Figure Size | Align the Components |
© 1994-2005 The MathWorks, Inc.