Skip to content

Interface: ContourField ​

Experimental

What contouring a grid gives (part of the contour traces' calcdata).

Extended by ​

Properties ​

PropertyModifierTypeDescription
boundsreadonlyContourBoundsExperimental The contoured area, from the first to the last grid point (linear coordinates).
coloringreadonlyContourColoringExperimental contours.coloring ('none' for constraint contours, which color with line.color).
constraintreadonlyContourConstraint | undefinedExperimental Set for constraint contours (contours.type: 'constraint').
levelsreadonlyContourLevelsExperimental The levels: contours.start/end/size, or the constraint's one or two levels.
mask?readonlyContourRegionExperimental Where the data is, when gaps are not connected (contour with connectgaps: false): rings in linear coordinates for the nonzero rule. paths are already clipped to it; fills are clipped when drawn.
pathsreadonlyreadonly readonly ContourPath[][]Experimental Per level: its contour lines (smoothed), in linear coordinates.
regionsreadonlyreadonly ContourRegion[] | undefinedExperimental coloring: 'fill': per level, the region z ≥ level as rings for the nonzero fill rule, in linear coordinates (painted in level order over the background). Constraint contours: the one shaded region (none for =).
zFilledreadonlyFloat64ArrayExperimental z with empty cells filled (what is contoured, and drawn by coloring: 'heatmap').

Released under the MIT License.