# Continuous error band in Matlab

I was looking for a plot function in Matlab that could create error “bands” with a continuous filled plot for the standard error, highlighting the mean. In the end I decided to create the function I needed so that I could have the parameters I wanted: namely colours and transparency.

Here an example of how to use two versions of the same function, one for matrices and the second for a structure of data. Download the archive with the two functions.

### Function 2 (structure of values)

Insert math as
$${}$$