Clear Filters
Clear Filters

Unrecognized function or variable 'boxplotGroup'

9 views (last 30 days)
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)

Accepted Answer

Voss
Voss on 12 Apr 2022
boxplotGroup is a function from the File Exchange, so you'd have to download it from there:
  2 Comments
Claire Smith
Claire Smith on 13 Apr 2022
Thanks! I knew it had to be just me being a dingus
Voss
Voss on 13 Apr 2022
You're welcome! It happens to the best of us

Sign in to comment.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!