Setting LineWidth when exporting a figure using 'print'
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to export a figure using the print command. The figure has several line plots on it. I have set the LineWidth property of each line to be 2.5. When I export the figure, the LineWidth becomes significantly smaller. In fact, it doesn't matter how I set LineWidth before exporting, I always end up with the same skinny lines. Please help! Here's a portion of my code.
lines=get(gca,'Children');
set(lines,'LineWidth',2.5)
print(f2, '-r1200', '-dtiff', [PathName FileName])
I am running version R2012a (7.14.0.739) on a 2012 Macbook Pro.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!