How to create two-dimensional boxplots
Show older comments
Hey all,
I would like to create a two-dimensional boxplot. So far I only managed to create 1D Boxplots with fixed x-value using boxchart. The result should be something like the below image:

On stackoverflow I found a solution for R and Python (matlplotlib), unfortunately I didn't find anything for Matlab.
R-solution
Python (matplotlib) solution
I would be happy if someone has a clever idea for the solution. Thanks in advance and best regards,
Tom
Accepted Answer
More Answers (1)
Constantino Carlos Reyes-Aldasoro
on 16 Jan 2023
0 votes
Have a look at this code:
It describes how to do 3D boxplots, if you only have one grouping, it would go down to 2D

1 Comment
Tom Rüther
on 16 Jan 2023
Categories
Find more on Exploration and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!