A Matlab function to easily fill selected areas in plots
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A Matlab function to fill selected areas in plots. Inspired by a function of the same name from the Python package Matplotlib. I didn't look at that code, this is my own initial implementation to achieve the functionality that I needed.
The file fill_between.m demonstrates it's usage. More elaborate instructions appear on GitHub https://github.com/drbenvincent/fill_between
I'll be using GitHub only to keep track of issues and pull requests.
Cite As
Benjamin (2026). fill_between (https://github.com/drbenvincent/fill_between), GitHub. Retrieved .
Acknowledgements
Inspired by: Shade area between two curves, Shade Anomaly, gtfill(x,y1,y2,n,c1,c2)
Inspired: SimOutUtils, anomaly
General Information
- Version 1.2.0.0 (38.6 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.0 | added acknowledgements to similar functions |
||
| 1.1.0.0 | added URL to GitHub page |
||
| 1.0.0.0 |
