You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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)
Cite As
Simon Musall (2026). stdshade (https://www.mathworks.com/matlabcentral/fileexchange/29534-stdshade), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: errorshade
General Information
- Version 1.40.0.1 (1.79 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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:
|
||
| 1.0.0.0 |
