gtfill(x,y1,y2,n,c1​,c2)

Fill the areas between two curves that cross at multiple pts, with different colors under each curve
857 download
Aggiornato 10 mar 2015

Visualizza la licenza

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.

Cita come

William Hobbs (2024). 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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Curve Fitting Toolbox in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: Shade area between two curves

Ispirato: anomaly, fill_between

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

Updated to try to fix errors pointed out by Thijs and Masao Ashtine.

1.1.0.0

Changed title.

1.0.0.0