버전 (3.03 KB) 작성자: Oliver Woodford
Improves the style of lines in MATLAB generated eps files
다운로드 수: 6.8K
업데이트 날짜: 2019/1/4

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

This function is deprecated. Please use EXPORT_FIG (also available on the File Exchange).

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.

The function additionally moves any embedded fonts after the bounding box information, to ensure correct cropping in Ghostscript.

인용 양식

Oliver Woodford (2024). fix_lines (, MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Printing and Saving에 대해 자세히 알아보기


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보


Fix bug (only affecting R2006b & earlier) introduced in last update

Attempt to fix problem caused by tiff preview, as reported by D Ko (thanks). No error in ghostview now, though last drawn line disappears (only with tiff preview).

Move embedded fonts after bounding box info (for R2006b and earlier).

Better error recovery. Improved backwards compatibility. Reduced memory requirements.