label on the plot

2 Ansichten (letzte 30 Tage)
Babu Sankhi
Babu Sankhi am 29 Mär. 2021
Kommentiert: Star Strider am 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?

Akzeptierte Antwort

Star Strider
Star Strider am 29 Mär. 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 Kommentare
Babu Sankhi
Babu Sankhi am 1 Apr. 2021
Thank you
Star Strider
Star Strider am 1 Apr. 2021
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by