jitterplot
INTRODUCTION
Function to create jitter plots showing the mean, mean - 1 standard
deviation, mean + 1 standard deviation and the distribution of the
individual data points
INPUT
jitterplot(data,y)
data: N x 1 vector containing the data points to be plotted
y: N x 1 vector representing the corresponding groups of the data
points
jitterplot(...,'meanWidth',meanWidthValue)
Value for the width of the line to indicate the mean in the plot. Default
is 0.2
jitterplot(...,'stdWidth',stdWithValue)
Value for the width of the lines to indicate the standard deviation in
the plot. Default is 0.3
jitterplot(...,'scatterSize',scatterSizeValue)
Value for the marker size to show the individual data points. Default
value is 20
OUTPUT
h: Figure handle
Created: 8/7/2020
Version: 1.0
Last update: 8/7/2020
Developer: Joris Meurs
Cite As
Joris Meurs (2026). jitterplot (https://uk.mathworks.com/matlabcentral/fileexchange/77885-jitterplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
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 |
