Unrecognized function or variable 'boxplotGroup'

I am trying to make a grouped boxplot and I keep getting the above error.... I am currently copying and pasting code to verify it works and am still getting the same error. I have the Statistics toolbox downloaded and can make a normal boxplot with no issue.
A = rand(100,8);
B = rand(100,8)*2;
C = rand(100,8)*4;
data = {A,B,C};
boxplotGroup(data, 'PrimaryLabels', {'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h'}, ...
'SecondaryLabels',{'A', 'B' 'C'}, 'InterGroupSpace', 3)

 채택된 답변

Voss
Voss 2022년 4월 12일

1 개 추천

boxplotGroup is a function from the File Exchange, so you'd have to download it from there:

댓글 수: 2

Thanks! I knew it had to be just me being a dingus
Voss
Voss 2022년 4월 13일
You're welcome! It happens to the best of us

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

추가 답변 (0개)

제품

릴리스

R2021a

질문:

2022년 4월 12일

댓글:

2022년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by