plot x label like plot(x, y) in boxplot

2 次查看(过去 30 天)
Hello,
I need to use boxplot, but how to plot boxplot like plot(x,y), because the x-label (position) for my boxplot is unified
like
load data.mat
x=[1,2,5,10,16]
boxplot(x, data)
Thanks

采纳的回答

Voss
Voss 2023-3-10
data = magic(5);
x=[1,2,5,10,16];
boxplot(data,x);
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by