Table of Contents

Class Plot2d

Namespace
OpenCvSharp.Plot
Assembly
OpenCvSharp.dll

Class to plot 2D data.

public class Plot2d : Algorithm, IDisposable
Inheritance
Plot2d
Implements
Inherited Members

Methods

Create(InputArray)

Creates a Plot2d object.

Create(InputArray, InputArray)

Creates a Plot2d object.

Render(OutputArray)

Renders the plot to an image.

SetGridLinesNumber(int)

Sets the number of grid lines.

SetInvertOrientation(bool)

Sets whether to invert the orientation of the plot.

SetMaxX(double)

Sets the maximum X value of the plot.

SetMaxY(double)

Sets the maximum Y value of the plot.

SetMinX(double)

Sets the minimum X value of the plot.

SetMinY(double)

Sets the minimum Y value of the plot.

SetNeedPlotLine(bool)

Switches data visualization mode.

SetPlotAxisColor(Scalar)

Sets the axis color of the plot.

SetPlotBackgroundColor(Scalar)

Sets the background color of the plot.

SetPlotGridColor(Scalar)

Sets the grid color of the plot.

SetPlotLineColor(Scalar)

Sets the color of the plotted lines.

SetPlotLineWidth(int)

Sets the width of the plotted lines.

SetPlotSize(int, int)

Sets the size of the plot image.

SetPlotTextColor(Scalar)

Sets the text color of the plot.

SetPointIdxToPrint(int)

Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).

SetShowGrid(bool)

Sets whether to show the grid.

SetShowText(bool)

Sets whether to show the text.