![]() % If you want to add all data between boxes and outliers too, do something like:ĭataoutbox=datas(,:) % horizontal play to make them not coincide: % All datapoints coincide now horizontally. You can filter the data manually.ĭatainbox=datas(ceil(end/4)+1:floor(end*3/4),:) The data between boxes and outliers is everything in a range of 1.5*IQR from the upper and lower quartile. The box of the boxplot is determined by the IQR. The closest thing I've found is the following function but it only accepts a single grouping variable. I would like to plot a scatter plot over this boxplot in order to show the relevant values of y that create the boxplot, but I could not find a function that groups the values as the boxplot function does. % each cable can be produced by a different vendor. % each cable being measured have a gauge of 1awg or 2awg: % each cable being measured can be of length 1m, 2m, or 3m: ![]() % measurements values: they represent some kind of an ![]() ![]() X3 (1xN cell array) represents the name of the vendor. I used multiple grouping variables: x1, x2, x3 I've plotted a simple boxplot of a vector y (1xN) using Matlab.
0 Comments
Leave a Reply. |