I get "Warning: Failed to draw text string" for all my figures
Ältere Kommentare anzeigen
I was making a simple gui when I found that I couldn't render strings in figures any more. Now if I enter a command like
plot([1 2],[3 4])
the figure won't have any numbers on the axis. I can't add titles, or axis labels. Text in buttons seem to work, though.
Anyone know how to fix this? I really wasn't purposely changing any of the text rendering settings.
Thanks, -tony
Oh, I'm using MATLAB R2009a on 64-bit Windows Vista Enterprise if that makes a difference.
Antworten (2)
Walter Roberson
am 21 Jan. 2011
Possibly you have somehow switched your default font.
Compare
get(0,'Default')
with
get(0,'Factory')
to see if you have changed a default setting in a way that was not intended.
Anthony Bathgate
am 21 Jan. 2011
1 Stimme
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!