How to label the x axis in matlab for boxplot ?

34 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

更多回答(0 个)

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by