how to superscript in subtitle of a figure?

3 vues (au cours des 30 derniers jours)
Kim Arnold
Kim Arnold le 9 Oct 2020
Commenté : Adam Danz le 11 Oct 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!

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Chemistry dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by