Boxplots Custom

버전 1.0.4 (7.79 KB) 작성자: Guillaume Talbot
Function to draw simple and specialized boxplots (grouped, horizontal, two y axis)
다운로드 수: 615
업데이트 날짜: 2023/3/9

라이선스 보기

Function which can be used to draw simple, but also specialized boxplots.
For example :
1) Horizontal boxplots
2) Grouped boxplots
3) Use a different y axis for each boxplots
4) Ignore empty boxplots
5) Display the mean value over the boxplot, and customize it
6) Change the definition of outliers. Can be the inter-quartile range or the standard deviation (and different multipliers).
7) Modify the width of boxplots
8) Specify the "x-position" of each boxplots. Please note that this may cause some aesthetic problems in certain cases. This also works if the direction is horizontal, but then it will correspond to the y-position
9) Combine all of the above
Data inputs can be vectors, matrixes or cells
Colors (edges, filling, outliers) can be customized
This function use the "quantile" function from the statistical toolbox. If not available, I recommend you download the "Quantiles" function by David Ferreira (https://www.mathworks.com/matlabcentral/fileexchange/70279-quantiles) and place it in your directory

인용 양식

Guillaume Talbot (2024). Boxplots Custom (https://www.mathworks.com/matlabcentral/fileexchange/87734-boxplots-custom), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.4

-Added option to modify the width of boxplots
-Added option to specify the 'x' position of boxplots

1.0.3

-Added the option to display the mean over the boxplot (and customize it)
-Added the option to customize the outlier definition

1.0.2

-Fixed some typos in the help section
-Added the customization of the colors (edges, fill and outliers)
-Updated the example script

1.0.1

-Minor bug about empty boxplot was corrected
-Added example script

1.0.0