how to superscript in subtitle of a figure?

3 Ansichten (letzte 30 Tage)
Kim Arnold
Kim Arnold am 9 Okt. 2020
Kommentiert: Adam Danz am 11 Okt. 2020
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!

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 9 Okt. 2020
h=suptitle('CH5NO2^+')
  2 Kommentare
Kim Arnold
Kim Arnold am 9 Okt. 2020
Thanks a lot!
Adam Danz
Adam Danz am 11 Okt. 2020
Starting in r2018b, you can use sgtitle in place to suptitle.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Chemistry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by