You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function fills the areas between two curves that intersect at multiple
points. The area where curve 1 > curve 2 is filled in one color, and the
area where curve 2 > curve 1 is filled in another color.
It performs piecewise interpolation so that the area is completely filled, even if the intersections are between defined points.
Cite As
William Hobbs (2026). gtfill(x,y1,y2,n,c1,c2) (https://www.mathworks.com/matlabcentral/fileexchange/34876-gtfill-x-y1-y2-n-c1-c2), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (3.16 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
