A previous submission, confplot (by Michelle Giuliano) plots a single solid error boundary at one level of confidence. I just built on that idea by allowing the shade of the boundary to vary in a graded fashion across an array of confidence levels taken from a t distribution. If the confidence levels are spaced closely enough, e.g. [0.01:0.01:0.5], then the confidence boundary looks very smooth. You can use whatever color map you want to get all kinds of nice-looking effects.
Aaron Schurger (2021). confplot_t (https://www.mathworks.com/matlabcentral/fileexchange/23116-confplot_t), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!