Unrecognized characters
Ältere Kommentare anzeigen
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 Kommentare
Sean de Wolski
am 22 Feb. 2012
Copying and pasting what you have works fine on my system - Windows R2011b.
Sven
am 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
am 1 Mär. 2012
R P
am 1 Mär. 2012
R P
am 1 Mär. 2012
Antworten (0)
Kategorien
Mehr zu Labels and Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!