As far as what can be done in MATLAB, here's a simple example that groups Weight by 2 variable.
load carbig.mat
boxplot(Weight,{Cylinders,Model_Year},"ColorGroup",Model_Year)

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