Filled area plot
This contribution provides functionality to create filled area 2D linear plots, with full control over where and how areas are drawn.
The function 'shade' inherits its calling syntax from MATLAB's built-in 'plot' function, which hopefully should make its use intuitive. Some additional parameters, in the form of name-value pairs, allow controlling the filling behaviour. A live script is provided with multiple examples of usage.
Please do report any problems or suggestions and I will do my best to help.
Cite As
Javier Montalt Tordera (2024). Filled area plot (https://www.mathworks.com/matlabcentral/fileexchange/69652-filled-area-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.