Plot time seriers with variance indicated by shaded area around the curve.
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 (2024). varplot (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes