4.53333

4.5 | 15 ratings Rate this file 78 Downloads (last 30 days) File Size: 1.02 KB File ID: #13103
image thumbnail

Plot confidence intervals

by

 

24 Nov 2006 (Updated )

Plots a shaded region between specified lower and upper limits

| Watch this File

File Information
Description

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 (18)
31 Jul 2014 Scott  
19 Apr 2014 Amit  
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;
alpha(.5)

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.

20 Dec 2010 Roland Pasto  
11 Dec 2010 sommar

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?

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?

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

nice!!

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