Skip to content

plot_Plot2d_create1

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

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

ARGUMENTSdataX, dataY
FUNCTIONplot_Plot2d_create1
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_create1(dataX: Mat, dataY: Mat): plot_Plot2d | null;
dataX

1xN or Nx1 matrix X values of points to plot.

dataY

1xN or Nx1 matrix containing Y values of points to plot.

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.