areaplot(x,y,thresh​old)

Filled area plot with based on intersept with threshold
144 Downloads
Updated 6 Aug 2015

View License

Simply shows green for area above the threshold and red below the threshold. Calculates intercept with threshold by interpolation.

Cite As

Ben Oeveren (2024). areaplot(x,y,threshold) (https://www.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 Linux
Categories
Find more on Interpolation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

robust for thresholds outside the range of y.
typo
deleted unvisible graphics
description
fixed bugs for threshold visualisation