Unrecognized characters
显示 更早的评论
On editor or command window the characters are OK, but not in the figure.
When I enter
figure
text(0.5,0.5,'testing characters a, á, ã, â')
I get "testing characters a, Ãi, ã, â" on my figure
How can I solve it?
Thank you RP
5 个评论
Sean de Wolski
2012-2-22
Copying and pasting what you have works fine on my system - Windows R2011b.
Sven
2012-2-22
Me too - no problem with encoding on Win7, R2011b.
You say it looks fine on the command line... what happens when you run:
figure, t = text(0.5,0.5,'test a, á, ã, â')
get(t,'String')
?
R P
2012-3-1
R P
2012-3-1
R P
2012-3-1
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!