Unrecognized characters
Show older comments
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 Comments
Sean de Wolski
on 22 Feb 2012
Copying and pasting what you have works fine on my system - Windows R2011b.
Sven
on 22 Feb 2012
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
on 1 Mar 2012
R P
on 1 Mar 2012
R P
on 1 Mar 2012
Answers (0)
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!