No BSD License
Raymond Reynolds (view profile)
24 Nov 2006
27 Nov 2006)
Plots a shaded region between specified lower and upper limits
Watch this File
Plots shaded confidence intervals. Uses the matlab fill function, rather than area. This allows for multiple confidence plots to be overlayed for statistical comparison.
We can shade the graphs by adding these two commands after fill operation.
camlight; lighting gouraud;
Thank you for your contribution ! You saved me a lot of search time. I only have one suggestion to improve your function : you could add a new input argument to control the "EdgeColor" of the CI to avoid using the default edge color.
I could get two sets of bands on the same graph by just defining upper and lower each as two column matrices. But somehow I just can't get them in different shades. Any advice?
Yes, it is right, what I looked for. Thanks
Nice, but ...
How do you get the transparent overlays that you've got in the example?
Excellent, worked like a charm
No hassle, works great - useful also for drawing diagrams with filled shapes
Worked first time and without hassle. thanks
quite useful, especially for multiple plots.
Excellent work! Just what I needed
I was looking fr a way to plot a band which shows the range of gait data and this one helped me.