box plot from timetable data
Mostra commenti meno recenti
Hello all,
I have a set of precipitation data 7440x4 double, where 1st column is year, 2nd is month, 3rd is day, and last 4th column is precipitation values (mm/day).
I had to find the monthly maxima and applied the code below. Although I also need to create a boxplot displaying the monthly maxima across the years, with time labelled on the x axis.
Could you please provide some help in creating a boxplot from timetable data? Should I convert it into a matrix? How do I do it?
Thanks a lot for your help

mm=precip(:,4);
Times = datetime(precip(:,1:3)); %convert to datetime
table = timetable(Times, mm); % Convert To ‘timetable’
monthly_max = retime(table, 'monthly', 'max');

Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Weather and Atmospheric Science 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!

