boxplot with months???
Mostra commenti meno recenti
Hi, i have a 6021x1 matrix with, each row corresponds to an specific day, and i need to create a boxplot for the months.
3 Commenti
Image Analyst
il 13 Ott 2016
You've made an announcement, not a question. Do you have a question? Well, I have one. Do you have another array that says what day each row is. Like okay, row 55 has the measurement made on day #55, but is that March 13, July 4, November 24, or what???? How can we group by months if we don't know which row is in which month?
Ern V
il 13 Ott 2016
Massimo Zanetti
il 14 Ott 2016
Now it is specific.
Risposte (2)
Walter Roberson
il 14 Ott 2016
dv = datevec(SerialDateNumbers);
month_num = dv(:,2);
MonthLab = {'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'};
boxplot(data, month_num, 'Labels', MonthLab);
Luís Henrique Bordin
il 19 Ott 2021
0 voti
Hi, I have a similar need, the only difference is that i need a continuous time-series boxplot by month, i.e., not joining data of same months of different years, all in the same month boxplot.. The result will be like: jan/2019, feb/2019...... jan/2020, fev/2020... and so on.
Categorie
Scopri di più su F Distribution in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
