版本 (1.8 KB) 作者: Simon Musall
Short code to create shading around a mean. Input is a matrix with rows of observations.

8.2K 次下载

更新时间 2020/12/5


usage: stdshade(amatrix,alpha,acolor,F,smth)
plot mean and standard deviations(std) coming from a matrix of data, at which each row is an observation. std can be changed to standard error of the mean(sem) in the code. sem/std is shown as shading.

- acolor defines the used color (default is red)
- F assignes the used x axis (default is steps of 1).
- alpha defines transparency of the shading (default is no shading and black mean line)
- smth defines the smoothing factor (default is no smooth)


Simon Musall (2022). stdshade (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
Windows macOS Linux

启发作品: errorshade

Community Treasure Hunt

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

Start Hunting!