Greek letter on plotting cut off on Mac version 10.10.3
2 次查看(过去 30 天)
显示 更早的评论
Hello all!
My problem is that my greek characters are being truncated when I try to use them in x- & y-axis labels. For example, the code:
ylabel('\phi ','FontSize',14) or text(2.3,-0.13,'\Phi','FontSize',12,'fontWeight','bold') produces a y-axis label that looks like a lower-case phi that has been cut in half. Has anyone encountered this problem before, or can anyone tell me what I'm doing wrong? Thanks!
I am using Mac version 10.10.3 and Matlab 2014a
0 个评论
采纳的回答
Walter Roberson
2015-6-16
I am not encountering that problem with R2014a on OS-X 10.10.3 (the same setup you are using.) What I am seeing is a fairly closed lowercase phi when \phi is used, and an regular but not-pretty uppercase phi when \Phi is used.
Have you considered switching to LaTeX instead of TeX? The characters are nicer. See http://www.mathworks.com/matlabcentral/answers/14751-greek-alphabet-and-latex-commands-not-a-question
Interestingly I just found that if I had used ylabel() with 'interpreter' 'latex' and then I do a second ylabel (without having erased the graphics) without specifying the interpreter, that it continues to try to use latex and I have to specifically say 'interpreter', 'tex' to get it to switch.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!