FIXPSLINESTYLE

버전 1.2.0.1 (2.17 KB) 작성자: Jiro Doke
Fixes line styles in postscript files created from MATLAB® (PRINT command)
다운로드 수: 9.8K
업데이트 날짜: 2016/9/1

라이선스 보기

FIXPSLINESTYLE: Fix line styles in exported post script files

FIXPSLINESTYLE(FILENAME) fixes the line styles in the postscript file FILENAME. The file will be over-written. This takes a .PS or .EPS file and fixes the dotted and dashed line styles to be a little bit more esthetically pleasing. It fixes the four default line styles (line, dotted, dashed, dashdot).

FIXPSLINESTYLE(FILENAME, NEWFILENAME) creates a new file NEWFILENAME.

This is meant to be used with postscript files created by MATLAB (print, export).
Example:
x = 1:.1:10;
y1 = sin(x);
y2 = cos(x);
h = plot(x, y1, '--', x, y2, '-.');
set(h, 'LineWidth', 2);
grid on;
legend('line 1', 'line2');

print -depsc test.eps
fixPSlinestyle('test.eps','fixed_test.eps');

인용 양식

Jiro Doke (2024). FIXPSLINESTYLE (https://www.mathworks.com/matlabcentral/fileexchange/17928-fixpslinestyle), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

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

Updated license

1.2.0.0

Copyright update.

1.0.0.0