Threshold shade

Shades data occurring above or below a positive or negative threshold respectively.
47 Downloads
Updated 18 Apr 2020

View License

Obtains x and y data to be used with the matlab 'fill' command. The filled areas are above a positive threshold or below a negative threshold, or both. The filled areas are bound between start and stop points on the x-axis as defined by the user.

A full description of the function, input and output variables, and example usage can be found within the function's starting comments. Examples on how to use the output data is also included in the function (look in the 'Plotting' section at the end of the function).

Please feel free to get in contact for suggested improvements and/or the detection of bugs.

Cite As

Timothy Olsen (2024). Threshold shade (https://www.mathworks.com/matlabcentral/fileexchange/75078-threshold-shade), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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.1

Fixed typo in one of the examples.

1.0.0