Graphics    

Excluding User Interface Controls

User interface controls 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, user interface controls are included in your printed or exported figure. This section shows how to exclude them.

Using the Graphical User Interface

  1. Open the Page Setup dialog box by selecting Page Setup from the figure window's File menu. Select the Axes and Figure tab.
  2. Under Figure controls, clear the Print UIControls check box.
  3. Click OK.

Using MATLAB Commands

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.


  Setting CMYK Color Producing Uncropped Figures