Why does my axis label turn into a grey box when I print to file?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Scott Webster
le 21 Déc 2014
Réponse apportée : Roland G
le 16 Fév 2016
I am having a problem where for certain axis labels, when exporting the figure to a PNG file, the text turns into a grey box. Here is an example:
figure; xlabel('This text is too long longer longer'); print('-dpng', '-r600', 'test.png');
If the text is shorter, or I choose a lower resolution then the problem does not occur... any thoughts as to what might be happening here? This is with the software OpenGL implementation in R2014b...
2 commentaires
Réponse acceptée
Richard Quist
le 26 Mar 2015
That sounds like this issue which was fixed in R2015a: Very long or very large text is not displayed or printed
Plus de réponses (1)
Roland G
le 16 Fév 2016
I had this issue recently and found that by reducing the resolution below 300 DPI (I used 200) the problem does not appear.
0 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!