Extending ERRORBAR, it plots a line within a shaded area, as 'continuous' confidence/error bounds.
Updated 11 Apr 2016

View License

Editor's Note: This file was a File Exchange Pick of the Week

CONFPLOT is a linear plot utility, extending ERRORBAR to represent continuous confidence/error boundaries as a shaded gray area around the plotted line (i.e. taking advantage of the command 'area').
CONFPLOT(X,Y,L,U) plots the graph of vector X vs. vector Y with 'continuous' confidence/error boundaries specified by the vectors L and U. L and U contain the lower and upper error ranges for each point in Y. The vectors X,Y,L and U must all be the same length.

Cite As

Michele Giugliano (2024). confplot (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Histograms in Help Center and MATLAB Answers

Inspired: errorshade, errorfill, confplot_t, boundedline.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

BSD License update.