Specifications

3 Laying Out GUIs and Setting Properties
3-6
You can select other plots in the pop-up menu. Clicking the Update button
displays the currently selected plot on the axes.
The GUI also has a
File menu with three items:
Selecting
Open displays a dialog from which you can open files on your
computer.
Selecting
Print executes the printdlg command, which opens the Print
dialog:
printdlg(handles.figure1)
Note that handles.figure1 contains the current plot. Clicking Yes in the
Print dialog prints the plot.
Selecting
Close closes the GUI.
Modal Question Dialog
The modal question dialog template displayed in the Layout Editor is shown in
the following figure.