varplot

Plot time seriers with variance indicated by shaded area around the curve.
229 Downloads
Updated 23 May 2019

View License

Input your 2D data matrix and automatically produce a plot of the mean and variance in a publication-ready graphical format. Completey wraps around the plot() function supporting all of its existing functionality plus additional options for the variance plot.

For anyone looking at time x trial style data, this can (and should) replace your standard 'plot(mean(data)) command.

Cite As

Edden M. Gerber (2026). varplot (https://in.mathworks.com/matlabcentral/fileexchange/71632-varplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0