No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Plot confidence intervals

4.4 | 17 ratings Rate this file 106 Downloads (last 30 days) File Size: 1.02 KB File ID: #13103 Version: 1.0
image thumbnail

Plot confidence intervals



24 Nov 2006 (Updated )

Plots a shaded region between specified lower and upper limits

| Watch this File

File Information

Plots shaded confidence intervals. Uses the matlab fill function, rather than area. This allows for multiple confidence plots to be overlayed for statistical comparison.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (20)
21 Dec 2016 Sohail Ahmed

31 Oct 2016 geoffrey lossa

31 Jul 2014 Scott

Scott (view profile)

19 Apr 2014 Amit

Amit (view profile)

07 Aug 2013 Juan Camilo Medina

29 Dec 2010 Subha Fernando

Thank you!!

We can shade the graphs by adding these two commands after fill operation.

camlight; lighting gouraud;

20 Dec 2010 Roland Pasto

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.

Comment only
20 Dec 2010 Roland Pasto

11 Dec 2010 sommar

sommar (view profile)

Great Work

08 Oct 2010 luching

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?

Comment only
17 Jun 2010 Jaroslav

Yes, it is right, what I looked for. Thanks

24 Oct 2009 Bob Smith

Nice, but ...

How do you get the transparent overlays that you've got in the example?

Comment only
27 Dec 2008 Jens Liebe

Excellent, worked like a charm

03 Sep 2008 Ryan Walker

No hassle, works great - useful also for drawing diagrams with filled shapes

20 Jun 2008 Filip FLOREA

Perfect ..

14 Jan 2008 Andrew Brampton

Worked first time and without hassle. thanks

27 Nov 2007 yiming wang

quite useful, especially for multiple plots.

07 May 2007 Anders Engström

Excellent work! Just what I needed

15 Mar 2007 Friedhelm Steinhilber


04 Dec 2006 Mohammad Zubayer Karim

I was looking fr a way to plot a band which shows the range of gait data and this one helped me.

Contact us