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

조회 수: 10(최근 30일)
Raymond Lam
Raymond Lam 2022년 1월 6일
답변: dpb 2022년 1월 6일
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!

답변(1개)

dpb
dpb 2022년 1월 6일
Use boxchart and the grouping by color option probably best builtin solution...

Community Treasure Hunt

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

Start Hunting!

Translated by