Printing and Exporting Figures with MATLAB    

Directing Your Output

Overview

Ways of Directing Your Output

Selecting a Printer

Default Printer

Alternative Printers

Using the Print Dialog Box

Using the print Command (UNIX only)

Using the Print Setup Dialog Box

Printer Drivers

Specifying a Printer Driver

Types of Printer Drivers

Choosing the Right Driver

Font Support for the Various Drivers

Drivers Provided by MATLAB

Windows Drivers

PostScript Drivers

Ghostscript Drivers

HPGL Drivers

Printing to a File

How to Print to File

Using the Windows User Interface

Using the UNIX User Interface

Using the print Command

Appending Figures to a PostScript File

Setting up the Page

Overview

Default Settings and How to Change Them

Relationships Among Settings

Paper Size and Type

Built-In and Printer-Specific Paper Types

Changing Paper Size or Type

Changing the Default Paper Type

Paper Orientation

Changing Paper Orientation

Unit of Measure

Changing the Unit of Measure

Size and Position of Printed or Exported Figures

MATLAB's Default Size and Position Settings

Changing Figure Size and Position

Examples

Fine-Tuning Your Output

Overview

Ways to Fine-Tune

Setting the Rendering Method

Comparing Rendering Methods

The Default Renderer for MATLAB

Reasons for Changing the Renderer

How to Set the Renderer

Setting Resolution

Bitmap and Vector Resolution

Default Resolution and When You Can Change It

Choosing a Setting

How to Set the Resolution

Retaining Background Colors

Default Background Colors

How to Retain the Background Colors

Locking the Ticks and Limits of the Axes

Default Behavior

How to Lock the Ticks and Limits

Adjusting Lines and Text for Printing

Exported Figures

Default Settings for Colored Lines and Text

Specifying Printed Color of Colored Lines and Text

Getting the Best Results with Black-and-White Printers

Windows 95 and 98 Limitation for Broken Line Styles

Font Support for Printing

Excluding User Interface Controls from Output

Using Page Setup

Using the print Command

Producing Uncropped Output

Changing Default Cropping Behavior

Producing an Uncropped Figure

Creating CMYK Output

Using the Printing Options Dialog Box (UNIX only)

Using the print Command

Example - Fine-Tuning a Figure

Using the User Interface

Using MATLAB Commands

Exporting

Overview

Exporting

Relationship to Printing

Exporting Quick Start

Using the print Command for Exporting

Example - Exporting to a TIFF File

Setting the Export File Format

What is a File Format?

Supported Formats and Related Options

Details About Selected File Formats

How to Choose a File Format

More About MATLAB Format Types

Built-In MATLAB and Ghostscript Formats

Bitmap and Vector Formats

Preserving Colors in Exported Figures

Getting the Best Results With Bitmap Formats

About the Graphical User Interface for Exporting

The Export Dialog Box

Figure Copy Template

Copy Options Preferences

Exporting to the Clipboard Using the Graphical Interface

Default Settings

Clipboard Formats

Exporting Procedure

Creating and Applying a Copy Template

Setting Copy Preferences

Example - Exporting an EMF to the Clipboard

Exporting Using MATLAB Commands

Specifying the Format to Use

Specifying Options

Exporting to a File Using MATLAB Commands

Exporting to the Clipboard Using MATLAB Commands

Using the getframe Command to Export a Graphic

How to Use getframe and imwrite

Example - Exporting a Figure Using getframe and imwrite

Saving Multiple Figures to an AVI File

Importing MATLAB Graphics into Other Applications

Edit Before You Export

Importing into Microsoft Applications

Example - Importing an EPS Graphic into LaTeX

Application Format Support

Graphical Interface Reference

Windows Print Dialog Box

Components of the Windows Print Dialog Box

Invoking the Windows Print Dialog Box

Page Setup Dialog Box

Components of the Paper Tab

Components of the Size and Position Tab

Components of the Lines and Text Tab

Components of the Axes and Figure Tab

Invoking the Page Setup Dialog Box

Print Preview Dialog Box

Components of the Print Preview Dialog Box

Invoking the Print Preview Dialog Box

UNIX Print Dialog Box

Components of the UNIX Print Dialog Box

Invoking the UNIX Print Dialog Box

Printing Options Dialog Box

Components of the UNIX Printing OptionsDialog Box

Invoking the Printing Options Dialog Box


 Printing and Exporting Figures with MATLAB Directing Your Output