Release 11 New Features |
TIFF Preview Images for Encapsulated PostScript
MATLAB 5.1 introduced support for TIFF preview images for Encapsulated PostScript (EPS) files. To produce a TIFF preview, use the-tiff
switch. For example, this command creates an EPS file called newplot.eps
that contains a TIFF preview
print -deps -tiff newplot.epsThe preview image has a resolution of 72 dots per inch, and the colors in the preview match the colors in the EPS file. MATLAB creates the EPS with a loose bounding box (i.e., white space around the figure), so that the size and position of the preview image match the EPS. There may be some differences between the EPS and the TIFF preview because the preview is always rendered using Z-buffer, while the EPS may be rendered with painter's algorithm. The
-tiff
switch works on all platforms; you can view the resulting preview image within any application that can display TIFF graphics.