Boxplot with multiple figures
이전 댓글 표시
I cannot get this code to work. Both HAL and one2three are a 22x1 array. I need to put them on a boxplot but cannot get it to work. The group part was just added but nothing is coming out with that either. They are both the same length and I keep getting an error message.
HAL = Project1Data(2:23,1);
one2three = Project1Data(2:23,2);
group = [ones(size(HAL)); 2*ones(size(one2three))];
boxplot([HAL, one2three],group);
title("Lotus Scores");
xlabel("Lotus Group");
ylabel("Score (0-10)");
I added the data below, titled Project_1_Data.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Box Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!