Creating Graphical User Interfaces Previous page   Next Page

Designing the GUI

The GUI used in this example contains an axes that displays either a surface, mesh, or contour plot of data selected from the pop-up menu. The following picture shows a sketch that you might use as a starting point for the design.

Rough sketch of a proposed GUI

A panel contains three push buttons that enable you to select the type of plot you want. The pop-up menu contains three strings -- peaks, membrane, and sinc, which correspond to MATLAB functions. You can select the data to plot from this menu.


Previous page  Creating a GUI Laying Out the GUI Next page

© 1994-2005 The MathWorks, Inc.