Using MATLAB Graphics     Search    Help Desk 

Specifying Resolution (-r)

When you print a figure in a PS, EPS, TIFF, JPEG, or PNG format, you can specify the resolution of the output. This is most useful when rendering with z-buffer. The default resolution is 150 dpi. To specify a different resolution, use the -r option. The syntax for this option is:

For example, this command prints the current figure at 300 dpi:

If number is 0, MATLAB prints the figure at screen resolution. (On most systems, screen resolution is between 72 and 100 dpi.)

For more information about resolution and its relationship to the rendering method used, see "Selecting the Rendering Method for Printing".



[ Previous | Help Desk | Next ]