Greek letter on plotting cut off on Mac version 10.10.3
3 ビュー (過去 30 日間)
古いコメントを表示
Tariq Alrushaid
2015 年 6 月 16 日
コメント済み: Tariq Alrushaid
2015 年 6 月 18 日
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!