label on the plot

조회 수: 5 (최근 30일)
Babu Sankhi
Babu Sankhi 2021년 3월 29일
댓글: Star Strider 2021년 4월 1일
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?
  댓글 수: 1
Babu Sankhi
Babu Sankhi 2021년 4월 1일
Thank you

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2021년 3월 29일
Two options:
xlabel('A_z^{-1/4} (ba)^{-1/4}')
or:
xlabel('$A_z^{-\frac{1}{4}} (ba)^{-\frac{1}{4}}$', 'Interpreter','latex')
.
  댓글 수: 2
Babu Sankhi
Babu Sankhi 2021년 4월 1일
Thank you
Star Strider
Star Strider 2021년 4월 1일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by