Printing and Exporting Figures with MATLAB | ![]() ![]() |
Windows 95 and 98 Limitation for Broken Line Styles
Microsoft Windows 95 and Windows 98 do not support broken line styles for lines whose width is greater than 1 pixel. Unfortunately, most printers produce lines more than 1 pixel thick, so in most cases, Windows 95 and Windows 98 drivers produce solid lines, regardless of the setting of LineStyleOrder
.
There are various ways you can work around this problem.
[MATLAB Settings]
section of your MATLAB.INI
file:ThinLineStyles=1
This will result in thin lines, but the lines will print with the specified styles.
Renderer
property to OpenGL
: set(gcf,'Renderer','OpenGL')
The printed output will match the displayed figure. See Setting the Rendering Method for more information about the OpenGL renderer.
![]() | Getting the Best Results with Black-and-White Printers | Font Support for Printing | ![]() |