Use this simple function to create a box plot which plots boxes for each group and also plots the data in each group as a vertical scatter plot to the left of each box. The offset and jitter can be controlled in the function as desired.
Cite As
Prashant Pandey (2026). boxScatter (https://www.mathworks.com/matlabcentral/fileexchange/77365-boxscatter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
