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

Fill the areas between two curves that cross at multiple pts, with different colors under each curve

Sie verfolgen jetzt diese Einreichung

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.

Zitieren als

William Hobbs (2026). gtfill(x,y1,y2,n,c1,c2) (https://de.mathworks.com/matlabcentral/fileexchange/34876-gtfill-x-y1-y2-n-c1-c2), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert von: Shade area between two curves

Inspiriert: anomaly, fill_between

Kategorien

Mehr zu Curve Fitting Toolbox finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
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