how to superscript in subtitle of a figure?

4 visualizaciones (últimos 30 días)
Kim Arnold
Kim Arnold el 9 de Oct. de 2020
Comentada: Adam Danz el 11 de Oct. de 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!

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Chemistry en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by