Jitter distribution figure

버전 1.0.3 (3.3 KB) 작성자: Eline Zwijgers
Function to create a figure showing the individual data points, mean, standard deviation, and distribution of multiple categories.
다운로드 수: 132
업데이트 날짜: 2023/8/30

라이선스 보기

Function to create a figure showing the individual data points, mean, standard deviation, and distribution of multiple categories.
Plot the distribution to the right of the figure outline (default) or next to the error bars. Choose between a kernel (default) or gaussian distribution. If the distribution is plotted to the right of the figure outline, the figure contains two subplots: Fig.jit and Fig.dist. If the distribution is plotted next to the error bars, the figure contains one subplot: Fig.jit.
Options such as personalized colors, marker size, linewidth, etc. are included.
% Example code with random data
data = [randn(1,50) randn(1,50)+1.6 randn(1,50)+1.4];
cats = [cellstr(repmat('Group A',50,1)); cellstr(repmat('Group B',50,1)); cellstr(repmat('Group C',50,1))];
figure
Fig = jitter_distribution_figure(data, cats, 'YLabel', 'Y label');
set(Fig.jit,'FontSize',23,'linewidth',2,'box','on')

인용 양식

Eline Zwijgers (2024). Jitter distribution figure (https://www.mathworks.com/matlabcentral/fileexchange/110835-jitter-distribution-figure), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

Typing error

1.0.2

Updated description.

1.0.1

Updated description.

1.0.0