Skip to content

Interface: Histogram2dContourCalc ​

Experimental

histogram2dcontour calcdata: the 2D histogram plus its contours.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited from
binnedreadonlynumberExperimental Samples that fell in some cell.Histogram2dCalc.binned
boundsreadonlyContourBoundsExperimental The contoured area, from the first to the last grid point (linear coordinates).ContourField.bounds
cellPointsreadonlyUint32ArrayExperimentalHistogram2dCalc.cellPoints
cellStartreadonlyUint32ArrayExperimental Samples of each cell: cellPoints[cellStart[c] … cellStart[c + 1]] (sample indices).Histogram2dCalc.cellStart
coloringreadonlyContourColoringExperimental contours.coloring ('none' for constraint contours, which color with line.color).ContourField.coloring
constraintreadonlyContourConstraint | undefinedExperimental Set for constraint contours (contours.type: 'constraint').ContourField.constraint
histfuncreadonlyHistFuncExperimental The aggregation actually used (count without z / marker.color).Histogram2dCalc.histfunc
levelsreadonlyContourLevelsExperimental The levels: contours.start/end/size, or the constraint's one or two levels.ContourField.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.ContourField.mask
nxreadonlynumberExperimentalHistogram2dCalc.nx
nyreadonlynumberExperimentalHistogram2dCalc.ny
pathsreadonlyreadonly readonly ContourPath[][]Experimental Per level: its contour lines (smoothed), in linear coordinates.ContourField.paths
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 =).ContourField.regions
xreadonlyHistogram2dAxisBinsExperimentalHistogram2dCalc.x
yreadonlyHistogram2dAxisBinsExperimentalHistogram2dCalc.y
zreadonlyFloat64ArrayExperimental Cell values, row-major (z[j * nx + i]); NaN for empty avg / min / max cells.Histogram2dCalc.z
zExtentreadonlyreadonly [number, number]Experimental Finite extent of z ([NaN, NaN] without values).Histogram2dCalc.zExtent
zFilledreadonlyFloat64ArrayExperimental z with empty cells filled (what is contoured, and drawn by coloring: 'heatmap').ContourField.zFilled

Released under the MIT License.