shplot
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.
Cite As
Marcin Konowalczyk (2026). shplot (https://uk.mathworks.com/matlabcentral/fileexchange/64990-shplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tags
Acknowledgements
Inspired by: raacampbell/shadedErrorBar
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.2.2.0 | bugfix in the `semilogx` and `semilogy` wrappers |
||
| 1.2.0.0 | added wrappers for matlabs `loglog`, `semilogx`, and `semilogy` functions |
||
| 1.1.3.0 | bugfix on line 20 ( abs(e) -> abs(e(:)) |
||
| 1.1.2.0 | chnaged the title back to 'shplot' |
||
| 1.1.0.0 | added varargout functionality so that the function doesn't spam the console when used without the `H` output |
||
| 1.0.0.0 |
