MATLAB (since R2016a) changes the size of the legend when printed. How can I avoid this?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a figure file (.fig) and I want to print the content. As I always do, I go to File -> Save As... and I save it as a pdf file, which is the most convenient file format for my subsequent use. However, during the saving process, the legend changes its size: what I see on the screen differs from what is printed to the PDF file. My current workaround is to open Matlab R2015a and proceed in the same manner (with the desired output). How should I proceed to avoid this in Matlab2016? Thank you
댓글 수: 0
채택된 답변
Michelle Wu
2016년 9월 28일
편집: Michelle Wu
2016년 9월 28일
The issue you encountered appears to be related to an identified bug in MATLAB R2016a. It seems to be fixed in R2016b as I was able to verify in both releases based on another example. I would suggest update to R2016b and see if the issue is resolved. If not, feel free to contact the Technical Support at MathWorks.
There are a few options for you if you want to try something before you update. Making sure the legend property “Unit” is set to “normalized” seems to resolve some issues occurred in R2016a figures. You may also check out the following link to another MATLAB Answers post for more options if you are unsatisfied with your printed figure:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!