Greek letter and subscript at the same time in axis label

I want to write x-axis label as (\Delta / H_B) but I could not. Delta is a greek letter and B is a subscription. please help me out how to solve it.

 Risposta accettata

You almost had it
xlabel('\Delta H_{B}')

2 Commenti

I mean Delta over H_B
Perhaps you would prefer
xlabel('$\frac{\Delta}{H_{B}}$')

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by