stdshade
by Simon Musall
25 Nov 2010
(Updated 01 Dec 2010)
Short code to create shading around a mean. Input is a matrix with rows of observations.
|
Watch this File
|
| File Information |
| Description |
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) |
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 30 Nov 2010 |
Minor changes:
shorter name
mean line uses selected color
transparency can be excluded
|
| 01 Dec 2010 |
fixed known spelling errors |
|
Contact us at files@mathworks.com