Why does my white text become black in my figure when printing to an EMF file in MATLAB 7.5 (R2007b)?
8 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2009 年 6 月 27 日
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!