stdshade

版本 1.40.0.1 (1.8 KB) 作者: Simon Musall
Short code to create shading around a mean. Input is a matrix with rows of observations.
9.4K 次下载
更新时间 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 (2024). stdshade (https://www.mathworks.com/matlabcentral/fileexchange/29534-stdshade), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Errorbars 的更多信息
致谢

启发作品: errorshade

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.40.0.1

support for numerical color values

1.40.0.0

added handles for mean lines and fill area. Can be used when calling 'legend' with multiple variables.

1.30.0.0

added correction to ensure odd filter length

1.20.0.0

Replaced smooth function with simple boxcar filter to avoid problems with function call.

1.10.0.0

fixed known spelling errors

1.5.0.0

Minor changes:
shorter name
mean line uses selected color
transparency can be excluded

1.0.0.0