Why does my white text become black in my figure when printing to an EMF file in MATLAB 7.5 (R2007b)?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Commenté : TADA
le 26 Août 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
Réponse acceptée
MathWorks Support Team
le 27 Juin 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 commentaire
TADA
le 26 Août 2021
set the white background yourself
set(gcf, 'InvertHardCopy', 'off');
set(gcf, 'Color', 'w');
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Printing and Saving dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!