errorshade2

like errorbar, but in 2D and fills an area rather than plotting bars

You are now following this Submission

usage: errorshade(x, y, errorx, errory, plot_option, shade_color)

Like errorbar, but instead of plotting bars, fills the the area enclosed by
[x-errorx x+errorx, y-yerror, y+yerror] with shade_color, and plots the x,y as a line or as indicated by plot_option.

The zip file includes a sample dataset toMatlab.mat, which contains variables x, y, errorx, errory.

sample usage:
errorshade2(x, y, errorx, errory)

Cite As

Vincent Huang (2026). errorshade2 (https://www.mathworks.com/matlabcentral/fileexchange/16360-errorshade2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

updated file and description. changed default facealpha value.