Azzera filtri
Azzera filtri

how to superscript in subtitle of a figure?

3 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 9 Ott 2020
h=suptitle('CH5NO2^+')
  2 Commenti
Adam Danz
Adam Danz il 11 Ott 2020
Starting in r2018b, you can use sgtitle in place to suptitle.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Chemistry in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by