MATLAB Answers

Unrecognized characters

4 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

Show 2 older comments
R P
R P on 1 Mar 2012
ans=
test a, á, ã, â
(and the characters in the figure are not recognized)
ps-I'm running Matlab in Linux
R P
R P on 1 Mar 2012
Additionally, the 'Font Size' property of TEXT function is ignored...
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)

Sign in to answer this question.