Unrecognized characters
Mostra commenti meno recenti
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 Commenti
Sean de Wolski
il 22 Feb 2012
Copying and pasting what you have works fine on my system - Windows R2011b.
Sven
il 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
il 1 Mar 2012
R P
il 1 Mar 2012
R P
il 1 Mar 2012
Risposte (0)
Categorie
Scopri di più su Labels and Annotations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!