Incorrect display for special characters in the axis label

6 views (last 30 days)
I am trying to display the special character Angstrom(char(197)) in the axis label. With char(197) only the display seems all right, but with anything in front of it the display is incorrect. Here is the code:
As the y axis label displays Angstrom correctly, the x axis label only displays "a?", which shows incorrect encoding. Please help me with that issue. Thank you.
Walter Roberson
Walter Roberson on 18 Feb 2013
Which operating system are you using, and which MATLAB version are you using? Also, which renderer are you using for your figure?

Sign in to comment.

Answers (1)

Mark Whirdy
Mark Whirdy on 18 Feb 2013
using your script I get "aÅ" on x-axis but you get "a?" ??
try the script below (even though its the same thing)


Find more on Characters and Strings 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!