Skip to content

Function: addCorrMatrix()

ts
function addCorrMatrix(plot, opts): CorrMatrixHandle;

Defined in: stats/charts.ts:133

A correlation matrix as a heatmap, on a diverging colormap locked to ±1 so that zero is the neutral colour and sign is readable at a glance.

Parameters

ParameterType
plotPlot
optsCorrMatrixOptions

Returns

CorrMatrixHandle

MIT licensed. WebGL2 required.