User`s guide
Program the Simple GUIDE GUI
3 Repeat steps 1 and 2 to add similar code to the Mesh and Contour push
button callbacks.
• Add this code to the Mesh push button callback,
pushbutton2_Callback:
% Display mesh plot of the currently select ed data.
mesh(handles.current_data);
• AddthiscodetotheContour push button callback,
pushbutton3_Callback:
% Display contour plot of the currently sel ected data.
contour(handles.current_data);
4 Save your code by selecting Save from the File menu.
Your GUI is ready to run. The next topic, “Open and Run the G UI” on page
2-36, tells you how to do that.
2-35