Creating Graphical User Interfaces    

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.

The pop-up menu contains three strings - "peaks," "membrane," and "sinc," which correspond to MATLAB functions. The user can select the data to plot from this menu.


  Example: Creating a GUI Laying Out the GUI