How to label the x axis in matlab for boxplot ?

조회 수: 34 (최근 30일)
Jay Chandra
Jay Chandra 2023년 2월 27일
댓글: Voss 2023년 2월 27일
Assume i have output data Y=10*3 ; when i want to plot boxplot for Y
boxchart(Y);
xlabel('Column')
ylabel('Power')
this is the output plat we get
Question: How to change the X-Axis rather than '1','2','3' as names like 'january', 'feb','mar'?

채택된 답변

Voss
Voss 2023년 2월 27일
xticklabels({'january','feb','mar'})
  댓글 수: 4
Jay Chandra
Jay Chandra 2023년 2월 27일
Thankyou Voss
Voss
Voss 2023년 2월 27일
You're welcome!

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

추가 답변 (0개)

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by