sinaViolinBoxPlot is a versatile MATLAB function for visualizing grouped data distributions. It combines the strengths of three common plot types:
- Violin plots using KDE for smooth density estimation
- Sina plots for jittered scatter points proportional to local density
- Box plots showing Q1-Q3, median, and optional mean
The function also provides an automatic statistics panel for each category, showing key descriptive statistics in a compact, readable format. It is designed to handle large datasets efficiently, works within subplots or tiled layouts, and allows fine-tuned control over colors, transparency, marker styles, and widths.
Key Features:
- Combine violin, Sina, and box plots in a single plot
- Optional mean, median, and Q1-Q3 display
- KDE-based density estimation with adjustable bandwidth
- Scatter jitter methods: density-based, uniform, or none
- Fully customizable color, transparency, and line properties
- Stats panel per group showing n, mean, stdev, median, quartiles, min, max
- Compatible with subplots and tiled layouts
- Handles empty categories gracefully
- Suitable for large datasets (>1e5 points)
Example Use Case:
Visualize four distinct distributions simultaneously: uniform, Gaussian, Poisson, and bimodal, with clear statistical summaries and density-based scatter points.
인용 양식
Nicolas Liaudet (2026). sinaViolinBoxPlot (https://kr.mathworks.com/matlabcentral/fileexchange/182741-sinaviolinboxplot), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2026a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0 |
