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

조회 수: 1 (최근 30일)
Miraboreasu
Miraboreasu 2023년 3월 10일
편집: Voss 2023년 3월 11일
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
Miraboreasu
Miraboreasu 2023년 3월 11일
Thank you
Voss
Voss 2023년 3월 11일
편집: Voss 2023년 3월 11일

You're welcome!

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

추가 답변 (0개)

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by