필터 지우기
필터 지우기

Greek letter on plotting cut off on Mac version 10.10.3

조회 수: 2 (최근 30일)
Tariq Alrushaid
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

채택된 답변

Walter Roberson
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 CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by