Changing font type on a plot axis label when using 'latex' script interpreter

24 ビュー (過去 30 日間)
Darren Beriro
Darren Beriro 2012 年 6 月 27 日
コメント済み: Leone Campos 2019 年 6 月 16 日
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

回答 (1 件)

Abby Skofield
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 件のコメント
Leone Campos
Leone Campos 2019 年 6 月 16 日
I think Abby was trying to get us here: Google groups

サインインしてコメントする。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by