how to create grouped Box plot
古いコメントを表示
hi, i want to create a box plot for my data. my data is in the excel file, with two sheet. each sheet have 10 column. i want to grouped first column in two sheet as box plot parameter 1. and second column in two sheet as parameter 2 and so on . i write this code but it dont work, please guide me . and is there any way that each group have different colors. thanks so much
% code
clear
clc
fontsize=14;
s1 =xlsread('data.xlsx','s1');
s2=xlsread('data.xlsx','s2');
h={s2,s1};
figure,
boxplot(h,'Labels',{'par1','par2','par3','par4','par5','par6','par7','par8','par9','par10'})
3 件のコメント
Geoff Hayes
2014 年 9 月 14 日
Baran - when you say that the code doesn't work, what exactly do you mean by that? Are you observing a particular error, and if so what is it?
baran
2014 年 9 月 14 日
dasilvarosa
2017 年 10 月 14 日
Did you solve this error? I'm encountering the same problem.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!