Threshold shade
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
Platform Compatibility
Windows macOS LinuxTags
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.