From: Hong Xu on
When I use plot to draw, the Greek characters in the figure cannot be displayed correctly, such as \psi is displayed as "Y", \mu is displayed as "m". They are all replaced by some English characters. What can I do?
From: Salvatore on
"Hong Xu" <xuphys(a)yahoo.com> wrote in message <hstegu$sm2$1(a)fred.mathworks.com>...
> When I use plot to draw, the Greek characters in the figure cannot be displayed correctly, such as \psi is displayed as "Y", \mu is displayed as "m". They are all replaced by some English characters. What can I do?

I'm experiencing the same issue.
From: Salvatore on
Sorry, I dropped out a part of my post.

So, I've the same problem on Matlab 2009b running on a 64 bit Fedora pc.
If I use commands like

xlabel('\pi')

in the plot I see a little p, and not the greek letter.
I've googled a lot, without any solutions.
Are there idea?

Thanks
S.
From: Salvatore on

>
> I'm experiencing the same issue.

Sorry, I dropped out a part of my post.

So, I've the same problem on Matlab 2009b running on a 64 bit Fedora pc.
If I use commands like

xlabel('\pi')

in the plot I see a little p, and not the greek letter.
I've googled a lot, without any solutions.
Are there idea?

Thanks
S.
From: Steven Lord on

"Salvatore " <vitale(a)lptl.jussieu.fr> wrote in message
news:htmdft$l2$1(a)fred.mathworks.com...
> Sorry, I dropped out a part of my post.
>
> So, I've the same problem on Matlab 2009b running on a 64 bit Fedora pc.
> If I use commands like
>
> xlabel('\pi')
>
> in the plot I see a little p, and not the greek letter.
> I've googled a lot, without any solutions.
> Are there idea?

When you type the following, what do you see for the Interpreter property?

h = xlabel('\pi');
get(h)

If it's not the string 'tex' then change it.

set(h, 'Interpreter', 'tex')

If that allows the xlabel to be rendered as the pi symbol, you need to
determine where you've changed the default setting (at the axes, figure, or
root level.)

http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f7-21465.html

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com