Creating Graphical User Interfaces |
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.
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.
Creating a GUI | Laying Out the GUI |
© 1994-2005 The MathWorks, Inc.