Boxplot x-axis not numerically ordered

조회 수: 15 (최근 30일)
Rebecca Savage
Rebecca Savage 2019년 1월 23일
편집: Adam Danz 2020년 1월 31일
I have two arrays, one with a discreet number of X-values, and one with a vide range Y-values. When I make a boxplot it groups the Y-values corresponding to the X (good) but the X values aren't displayed in numerical order, they appear along the axis in the order they are listed (for example: 3,6,2,4,8 rather than 2,3,4,6,8). Can I change this? how?

답변 (1개)

Adam Danz
Adam Danz 2019년 1월 23일
편집: Adam Danz 2020년 1월 31일
See the GroupOrder property of boxplots.

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by