Skip to content

plot_Plot2d_create

plotfunctionOpenCV 5.0.0
import { plot_Plot2d_create } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSdata
FUNCTIONplot_Plot2d_create
RETURN TYPEplot_Plot2d | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates Plot2d object

plot_Plot2d_create(data: Mat): plot_Plot2d | null;
data

1xN or Nx1 matrix containing Y values of points to plot. X values will be equal to indexes of correspondind elements in data matrix.

Returns

The plot_Plot2d | null result.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.