How Can I put an asterisk as superscript and letters as subscript to a letter in ylabel of matlab plot?

11 ビュー (過去 30 日間)
I want to make an Italic Bold labelling in a plot's y axis label having an asterisk as the supercript and letters as subscript as shown below. What could be the syntax for this labelling.
  2 件のコメント
Mani k
Mani k 2022 年 2 月 20 日
i need in code how to do same question
Anjan Goswami
Anjan Goswami 2022 年 2 月 20 日
Mani k,
Please follow the accepted answer from chunru here. It works for me.

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

採用された回答

Chunru
Chunru 2021 年 5 月 12 日
The following will do:
xlabel('\it H_{cs}^*', 'FontWeight', 'bold')

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by