Adapted Boxplot visualizing min max and mean
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm looking for a way to plot my data like in this figure. I'm having a matrix A containing information on a larger dataset with values for A B C & D.
- A(1,:)= {'A' 'B' 'C' 'D'}
- A(2,:)= [ 1 6 10 13] % minimum values
- A(3,:)= [ 7 9 16 21] % mean values
- A(4,:)= [ 9 10 22 29] % maximum values
I would like to plot these data in some sort of boxplot, only showing the min max and mean values like in the example in the figure. So that it looks like some sort of boxplot without the actual boxes.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156649/image.png)
Can anyone help me with this?
Thanks in advance.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!