How do I overlap boxplots on top of each other for the same x-axis?

8 views (last 30 days)
I got 2 tests, 24 conditions for each test. Instead of producing two box plots with 24 vectors of data for each test, I would like to produce a single box plot comparing the statistics (mean, max, min, s.d.) of each condition between the two tests (by overlapping one box plot over another). How can I do that?
Thanks in advance!

Accepted Answer

dpb
dpb on 6 Jan 2022
Use boxchart and the grouping by color option probably best builtin solution...

More Answers (0)

Community Treasure Hunt

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

Start Hunting!