How to make Greek letters with Latex interpreter?

I want to write "Omega hat" (the greek letter Omega, with a hat on it) in a plot title and lables. for "u hat", I simply use \it\^{u} with Latex interpreter. But I cannot make Greek letters like Omega by "Latax" interpreter. the only way is using "tex" interpreter, which does not support "hat". Does anyone has any idea? How can we make Greek letters with Latex interpreter?

 Accepted Answer

Here is an example:
text('Interpreter','latex','String','$$\hat{\beta}$$','Position',[.5 .5],'FontSize',16)
or for xlabels:
xlabel('$$\hat{\alpha}$$','Interpreter','latex','FontSize',16)

More Answers (1)

2 Comments

I still cannot do that!
I want "Capital Omega hat". And it seems neither "Tex", nor "Latex" works for this case. It seems that "Omega hat" cannot be written in the title or labels of a plot.
Thanks all the same.
I use MATLAB 7.7.0 (2008b). My MATLAB interprets "\^{\O}" with Latex correctly, as Phi hat. But when it comes to "alpha", "beta", "Omega", etc, it fails to interpret! Is it a bug in my MATLAB, or I am doing a mistake?

Sign in to comment.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!