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