フィルターのクリア

Latex Font in MATLAB

4 ビュー (過去 30 日間)
Shubhangi Gurudiwan
Shubhangi Gurudiwan 2024 年 2 月 9 日
コメント済み: VBBV 2024 年 2 月 10 日
Hi,
I am trying the below line to get the latex font which looks like sharp or angled v as below
However, MATLAB is giving error for this \varv
legend('$E_{\varv_{1}}$', 'Interpreter','latex')
result -
Warning: Error updating Legend.
String scalar or character vector must have valid interpreter syntax:
$E_{\varv _{1}}$

採用された回答

VBBV
VBBV 2024 年 2 月 10 日
編集済み: VBBV 2024 年 2 月 10 日
xlabel('$E_{\it V_{1}}$', 'Interpreter','latex')
  2 件のコメント
VBBV
VBBV 2024 年 2 月 10 日
編集済み: VBBV 2024 年 2 月 10 日
use an italic V in legend function
VBBV
VBBV 2024 年 2 月 10 日
Hi @Shubhangi Gurudiwan The closest match for your case is to use \nu
title('$E_{\nu_{1}}$', 'Interpreter','latex','FontSize',24)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by