Updated 15 Jan 2018
This function creates a shaded error-bar plot. It is a lightweight implementation of 'shadedErrorBar' by Rob Campbell intended to be used as a local function in other scripts. It reduces the functionality to a bare minimum in order to fit the entire script into (effectively) 11 lines of code.
Marcin Konowalczyk (2023). shplot (https://www.mathworks.com/matlabcentral/fileexchange/64990-shplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Inspired by: raacampbell/shadedErrorBar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
bugfix in the `semilogx` and `semilogy` wrappers
added wrappers for matlabs `loglog`, `semilogx`, and `semilogy` functions
bugfix on line 20 ( abs(e) -> abs(e(:))
chnaged the title back to 'shplot'
added varargout functionality so that the function doesn't spam the console when used without the `H` output