jitterplot

Version 1.0.0 (1.96 KB) by Joris Meurs
Function to plot individual data points as well as the mean and standard deviation in one figure
91 Downloads
Updated 8 Jul 2020

View License

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 (2024). jitterplot (https://www.mathworks.com/matlabcentral/fileexchange/77885-jitterplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0