I get "Warning: Failed to draw text string" for all my figures
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Walter Roberson
2011-1-21
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!