You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Condplot draws a line that changes color (or other line styles) depending on user defined thresholds. The threshold could apply to both x and y axes and could be defined by multiple values. All regular Name-Value arguments for function plot are acceptable. This function returns two arrays of Line Objects which could be used to modify properties of lines and markers, respectively, after creating them.
This function requires Mapping Toolbox. If you do not have it installed, please add intersections.m to your path for replacement.
Cite As
Yang Liu (2026). condplot - Conditional line plot (https://nl.mathworks.com/matlabcentral/fileexchange/111225-condplot-conditional-line-plot), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.2 (2.79 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
