Azzera filtri
Azzera filtri

use boxplot to show distribution of values for a range of response variables

3 visualizzazioni (ultimi 30 giorni)
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])
binID = 2332×1
1 2 1 2 2 2 2 2 5 4

Risposte (1)

Pravarthana P
Pravarthana P il 29 Set 2022
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!

Tag

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by