| Printing and Exporting Figures with MATLAB | ![]() |
Excluding User Interface Controls from Output
User Interface controls (uicontrols) are objects that you create and add to a figure. For example, you can add a button to a figure that when clicked, conveniently runs another M-file. By default, uicontrols are included in your printed or exported figure. This section shows how to exclude them.
Using Page Setup
Using the print Command
Use the -noui switch. This example specifies a color PostScript driver and excludes UI controls.
This example exports the current figure to a color EPS file and excludes UI controls.
| Font Support for Printing | Producing Uncropped Output | ![]() |