how to plot group boxplot
古いコメントを表示
a = readtable('Sample data2.xlsx')
b = 'samdig.png'
imshow(b)
I want matlab code to plot the boxplot of above data to look the above diagram but in 'notched form'. Kindly help me out. Thanks.
5 件のコメント
Adam Danz
2022 年 1 月 17 日
In the figure, I see 3 groups (dry/wet/Annual) and 5 subgroups (defined by legend). It's not clear how the table you shared should be divided into groups and subgroups.
Ankit's answer below shows you some good starting points to get you started.
Ojo Olusola
2022 年 1 月 17 日
Adam Danz
2022 年 1 月 18 日
I don't understand that. Please list the headings that appear in the table that belong to each group.
Ojo Olusola
2022 年 1 月 19 日
回答 (1 件)
Have a look over the below link. There are sufficient infos available on MATLAB Website
Also you can find some ready made function shared on MATLAB File Exchange
Info: 'boxplot' requires Statistics and Machine Learning Toolbox.
Below submission doesn't required any Toolbox.
3 件のコメント
Ojo Olusola
2022 年 1 月 17 日
Adam Danz
2022 年 1 月 17 日
To add to Ankit's list,
@Ojo Olusola you need to try the above mentioned functions/links by me and Adam by yourself. In case you face problem then we can help further..
カテゴリ
ヘルプ センター および File Exchange で Box Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
