Table of Contents

Class Plot2d

Namespace
Emgu.CV.Plot
Assembly
Emgu.CV.dll

A 2D plot

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

Constructors

Plot2d(IInputArray)

Create 2D plot from data

public Plot2d(IInputArray data)

Parameters

data IInputArray

The data to be plotted

Plot2d(IInputArray, IInputArray)

Create 2D plot for data

public Plot2d(IInputArray dataX, IInputArray dataY)

Parameters

dataX IInputArray

The data for the X-axis

dataY IInputArray

The data for the Y-axis

Methods

DisposeObject()

Release unmanaged memory associated with this plot2d.

protected override void DisposeObject()

Render(IOutputArray)

Render the plot to the resulting Mat

public void Render(IOutputArray result)

Parameters

result IOutputArray

The output plot

SetGridLinesNumber(int)

Grid Lines Number

public void SetGridLinesNumber(int value)

Parameters

value int

The value

SetInvertOrientation(bool)

Invert Orientation

public void SetInvertOrientation(bool value)

Parameters

value bool

The value

SetMaxX(double)

Max X

public void SetMaxX(double value)

Parameters

value double

The value

SetMaxY(double)

Max Y

public void SetMaxY(double value)

Parameters

value double

The value

SetMinX(double)

Min X

public void SetMinX(double value)

Parameters

value double

The value

SetMinY(double)

Min Y

public void SetMinY(double value)

Parameters

value double

The value

SetNeedPlotLine(bool)

Need Plot Line

public void SetNeedPlotLine(bool value)

Parameters

value bool

The value

SetPlotAxisColor(MCvScalar)

Set the axis color

public void SetPlotAxisColor(MCvScalar plotAxisColor)

Parameters

plotAxisColor MCvScalar

the axis color

SetPlotBackgroundColor(MCvScalar)

Set the background color

public void SetPlotBackgroundColor(MCvScalar plotBackgroundColor)

Parameters

plotBackgroundColor MCvScalar

The background color

SetPlotGridColor(MCvScalar)

Set the plot grid color

public void SetPlotGridColor(MCvScalar plotGridColor)

Parameters

plotGridColor MCvScalar

The plot grid color

SetPlotLineColor(MCvScalar)

Set the line color

public void SetPlotLineColor(MCvScalar plotLineColor)

Parameters

plotLineColor MCvScalar

The plot line color

SetPlotLineWidth(int)

Plot line width

public void SetPlotLineWidth(int value)

Parameters

value int

The value

SetPlotSize(int, int)

Set the plot size

public void SetPlotSize(int width, int height)

Parameters

width int

The width

height int

The height

SetPlotTextColor(MCvScalar)

Set the plot text color

public void SetPlotTextColor(MCvScalar plotTextColor)

Parameters

plotTextColor MCvScalar

The plot text color

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)

public void SetPointIdxToPrint(int value)

Parameters

value int

The value

SetShowGrid(bool)

Show Grid

public void SetShowGrid(bool value)

Parameters

value bool

The value

SetShowText(bool)

Show Text

public void SetShowText(bool value)

Parameters

value bool

The value