Unrecognized characters

7 views (last 30 days)
R P
R P on 22 Feb 2012
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
R P
R P on 1 Mar 2012
Other user with a similar problem (from http://www.mofeel.net/582-comp-soft-sys-matlab/159936.aspx) :
I have an erratic behavior on mac os x 10.6, and R2010a regarding options in fonts.
figure(1)
clf
colormap gray
imagesc(d)
title('Unfiltered image','FontWeight','bold')
xlabel('X (px)','fontweight','bold')
ylabel('Y (px)','fontweight','bold')
Whatever options I choose in title and labels, they are either ignored, or partially ignored. In this example, only the ylabel is plotted as bold.
Any idea what could be causing this ?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by