5.0

5.0 | 1 rating Rate this file 168 downloads (last 30 days) File Size: 2.79 KB File ID: #23604

fix_lines

by Oliver Woodford

 

08 Apr 2009

Code covered by BSD License  

Improves the style of lines in MATLAB generated eps files

Download Now | Watch this File

File Information
Description

This function improves the style of lines in eps files generated by MATLAB's print function, making them more similar to those seen on screen. Grid lines are also changed from a dashed style to a dotted style, for greater differentiation from dashed lines.

The screenshot demonstrates the improvements, with the figure (top right) being printed to eps (bottom left), which is then improved (bottom right) using FIX_LINES. Note how the effect becomes more marked on thicker lines.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
FIXPSLINESTYLE
This submission has inspired the following:
export_fig

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
06 May 2009 gmart

i fixed the dashed line in my eps figure after running this function...

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
eps Oliver Woodford 09 Apr 2009 09:31:47
lines Oliver Woodford 09 Apr 2009 09:31:47
style Oliver Woodford 09 Apr 2009 09:31:47
width Oliver Woodford 09 Apr 2009 09:31:47
data export Oliver Woodford 09 Apr 2009 09:31:47
line style Oliver Woodford 09 Apr 2009 09:31:47
fix Oliver Woodford 09 Apr 2009 09:31:47
dash Oliver Woodford 09 Apr 2009 09:31:47
dashed line gmart 06 May 2009 22:04:42
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com