フィルターのクリア

plot label with latex symbol

171 ビュー (過去 30 日間)
Simo
Simo 2020 年 4 月 3 日
コメント済み: Simo 2020 年 4 月 3 日
hi
how can i enter latex symbol (greek letter rho this time) in the labels of a plot? (first order bessel function)
yl={'J_{1}(\rho)','$'};
xl={'\rho','$'};
ylabel(yl,'interpreter','latex')
ylabel(xl,'interpreter','latex')

採用された回答

Peng Li
Peng Li 2020 年 4 月 3 日
You need to have the leading and ending symbol $.
e.g., ylabel('$J_{1}(\rho)$','interpreter','latex')
  1 件のコメント
Simo
Simo 2020 年 4 月 3 日
it works
thanks

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by