Why does my white text become black in my figure when printing to an EMF file in MATLAB 7.5 (R2007b)?
조회 수: 7 (최근 30일)
이전 댓글 표시
After running the following code
openfig test % test is a saved figure
print('test.emf','-dmeta')
my white text becomes black in my EMF file
채택된 답변
MathWorks Support Team
2009년 6월 27일
This is an expected behavior. This result is affected by the 'inverthardcopy' property. By default the figure's 'inverthardcopy' property is turned on. Turning this off will address the issue.
set(gcf, 'InvertHardCopy', 'off');
댓글 수: 1
TADA
2021년 8월 26일
set the white background yourself
set(gcf, 'InvertHardCopy', 'off');
set(gcf, 'Color', 'w');
추가 답변 (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!