Why does my white text become black in my figure when printing to an EMF file in MATLAB 7.5 (R2007b)?
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 27 Giu 2009
Commentato: TADA
il 26 Ago 2021
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
Risposta accettata
MathWorks Support Team
il 27 Giu 2009
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 Commento
TADA
il 26 Ago 2021
set the white background yourself
set(gcf, 'InvertHardCopy', 'off');
set(gcf, 'Color', 'w');
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Printing and Saving in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!