areaplot(x,y,threshold)
Version 1.0.0.0 (1.77 KB) by
Ben Oeveren
Filled area plot with based on intersept with threshold
Simply shows green for area above the threshold and red below the threshold. Calculates intercept with threshold by interpolation.
Cite As
Ben Oeveren (2026). areaplot(x,y,threshold) (https://se.mathworks.com/matlabcentral/fileexchange/52396-areaplot-x-y-threshold), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Find more on Interpolation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | robust for thresholds outside the range of y.
|
