12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

print, printoptpcmd and dev are platform-dependent strings. pcmd contains the command thatprint uses to send a file to the printer. dev contains the device option for theprint command. Their defaults are platform dependent.Platform pcmd devUNIX lpr –r –s –dps2VMS PRINT/DELETE –dps2Windows COPY /B %s LPT1: –dwinDevicesThe table below lists device types supported by <strong>MATLAB</strong>’s built-in drivers.Generally, Level 2 PostScript files are smaller and render more quickly whenprinting than Level 1 PostScript files. However, not all PostScript printerssupport Level 2, so determine the capabilities of your printer before using thosedrivers. Level 2 PostScript is the default for UNIX, and VAX/VMS. You canchange this default by editing the printopt.m file.The TIFF image format is supported on all platforms by almost all wordprocessors for importing images. JPEG is a lossy, highly compressed formatthat is supported on all platforms for image processing and for inclusion intoHTML documents on the World Wide Web. To create these formats, <strong>MATLAB</strong>renders the figure using the Z-buffer rendering method and the resultingpixmap is then saved to the specified file. You can specify the resolution of theimage using the −r resolution switch.Device–dps–dpsc–dps2–dpsc2–deps–depscDescriptionLevel 1 black and white PostScriptLevel 1 color PostScriptLevel 2 black and white PostScriptLevel 2 color PostScriptLevel 1 black and white Encapsulated PostScript (EPS)Level 1 color Encapsulated PostScript (EPS)2-367

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!