use boxplot to show distribution of values for a range of response variables
6 次查看(过去 30 天)
显示 更早的评论
I have a timetable where the first column is the response and the rest are variables that I'm using as predictiors.
I would like to make a box plot that shows the distribution of predictor values over the bin of response values.
The binID is the group ID for each response variable. But I'm not sure how to get the box plot to have the bin ranges on the x-axis and the regress_table.x0_3_um_count_a on the y-axis.
load regress_table.mat
[~,~,binID] = histcounts(regress_table.SAE,[1,1.4,1.8,2.2,2.6,3])
0 个评论
回答(1 个)
Pravarthana P
2022-9-29
Hi Poison Idea fan,
I understand that you are trying to box plot series of data in y-axis against time data in x-axis.
The following documentation links can be helpful to understand how to group boxplot:
The “boxplotGroup” function can be utilized by downloading it from File Exchange. For any queries on the same, kindly head to the discussion tab of the file exchange link.
I hope this information helps you!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!