areaplot(x,y,thresh​old)

Filled area plot with based on intersept with threshold

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/52396-areaplot-x-y-threshold), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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