label on the plot

2 visualizzazioni (ultimi 30 giorni)
Babu Sankhi
Babu Sankhi il 29 Mar 2021
Commentato: Star Strider il 1 Apr 2021
I want to make the xlabel (A_z)^-1/4 (ba)^(-1/4) in plot. (i.e. I want to raise power -1/4 and lower z for the same letter A)
xlabel('A_z^(-1/4) (ba)^(-1/4)')
but mine didnt work.Can you please help me how to write it?

Risposta accettata

Star Strider
Star Strider il 29 Mar 2021
Two options:
xlabel('A_z^{-1/4} (ba)^{-1/4}')
or:
xlabel('$A_z^{-\frac{1}{4}} (ba)^{-\frac{1}{4}}$', 'Interpreter','latex')
.
  2 Commenti
Babu Sankhi
Babu Sankhi il 1 Apr 2021
Thank you
Star Strider
Star Strider il 1 Apr 2021
As always, my pleasure!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots 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