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, printoptTroubleshooting MS-Windows PrintingIf you encounter problems such as segmentation violations , general protectionfaults, application errors, or the output does not appear as you expect whenusing MS-Windows printer drivers, try the following:• If your printer is PostScript compatible, print with one of <strong>MATLAB</strong>’s built-inPostScript drivers. There are various PostScript device options that you canuse with the print command: they all start with −dps, or −deps.• The behavior you are experiencing may occur only with certain versions ofthe print driver. Contact the print driver vendor for information on how toobtain and install a different driver. If you are using Windows 95, tryinstalling the drivers that ship with the Windows 95 CD-ROM.• Try printing with one of <strong>MATLAB</strong>’s built-in GhostScript devices. Thesedevices use GhostScript to convert PostScript files into other formats, suchas HP LaserJet, PCX, Canon BubbleJet, and so on.• Copy the figure as a Windows Metafile using the Edit-->CopyFigure menuitem on the figure window menu or the print −dmeta option at the commandline. You can then import the file into another application for printing.You can set copy options in the figure’s File-->Preferences...-->CopyingOptions dialog box. The Windows Metafile clipboard format produces abetter quality image than Windows Bitmap.Printing Thick Lines on Windows95Due to a limitation in Windows95, <strong>MATLAB</strong> is set up to print lines as either:• Solid lines of the specified thickness (LineWidth)• Thin (one pixel wide) lines with the specified line style (LineStyle)If you create lines that are thicker than one pixel and use nonsolid line styles,<strong>MATLAB</strong> prints these lines with the specified line style, but one pixel wide (i.e.,as thin lines).However, you can change this behavior so that <strong>MATLAB</strong> prints thick, styledlines as thick, solid lines by editing your matlab.ini file, which is in yourWindows directory. In this file, find the section,[Matlab Settings]2-373

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

Saved successfully!

Ooh no, something went wrong!