Unrecognized characters
Afficher commentaires plus anciens
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 commentaires
Sean de Wolski
le 22 Fév 2012
Copying and pasting what you have works fine on my system - Windows R2011b.
Sven
le 22 Fév 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
le 1 Mar 2012
R P
le 1 Mar 2012
R P
le 1 Mar 2012
Réponses (0)
Catégories
En savoir plus sur Labels and Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!