Changing font type on a plot axis label when using 'latex' script interpreter
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi - I am trying to create a y-axis label on a plot which should read E(with hat)_P_A_N( PAN in subcript). I am using the following script:
ylabel('$\mathrm{\hat{E}}_{\mathrm{{PAN}}}$','Interpreter','latex', 'FontSize',11, 'FontName', 'Helvetica')
The problem is that the font type is not Helvetica - it looks more like Times New Roman. Can anyone help me change the font type or provide alternative scripting that gives me this functionality please?
Many thanks, Darren
댓글 수: 0
답변 (1개)
Abby Skofield
2012년 6월 28일
Hi Darren - It isn't possible to specify Helvetica as the font for the LaTeX interpreter - there is a more detailed discussion of this topic here.
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!