How do I make my axis label text like this on a graph?

How do I make my xlabel axis like this where the super is moved up and the sub is moved down a little bit.
This is an example.

Antworten (1)

Cris LaPierre
Cris LaPierre am 3 Dez. 2020
Bearbeitet: Cris LaPierre am 3 Dez. 2020
MATLAB axis labels use the tex interpreter by default. So just take advantage of that.
xlabel('^{super} Normal _{sub}')

Kategorien

Mehr zu Labels and Annotations finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 3 Dez. 2020

Bearbeitet:

am 3 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by