how to superscript in subtitle of a figure?

4 ビュー (過去 30 日間)
Kim Arnold
Kim Arnold 2020 年 10 月 9 日
コメント済み: Adam Danz 2020 年 10 月 11 日
Hi everyone,
I want to superscript my + in the Chemical formula I have in one of my figures such as this : CH5NO2+
by introducing a underscore before the + sign, it does a subscripting.
h=suptitle('CH5NO2_+')
is there similar way to do it for the superscript?
Many thanks in advance!

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 10 月 9 日
h=suptitle('CH5NO2^+')
  2 件のコメント
Kim Arnold
Kim Arnold 2020 年 10 月 9 日
Thanks a lot!
Adam Danz
Adam Danz 2020 年 10 月 11 日
Starting in r2018b, you can use sgtitle in place to suptitle.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by