필터 지우기
필터 지우기

Non-expected results with boxplot's "factorSeparator" option

조회 수: 2 (최근 30일)
liomsi liomsi
liomsi liomsi 2019년 1월 29일
편집: liomsi liomsi 2019년 1월 29일
Hello,
I expect that the following code plots a line between the boxplots when the factor n°2 changes, but it does not (it works as expected if 'factorseparator' is set to 1). Do you know why please?
data=[1:20];
grp={[ones(1,10) 2*ones(1,10)],[ones(1,5) 2*ones(1,5) 3*ones(1,5) 4*ones(1,5)]};
boxplot(data,grp, 'FactorSeparator',2);
It gives that results:
Non-

답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by