Plot function for Mat data#
Classes#
Name |
Description |
|---|---|
Class cv::plot::Plot2d#
#include <opencv2/plot.hpp>Collaboration diagram for cv::plot::Plot2d:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Member Function Documentation#
render()#
void cv::plot::Plot2d::render(OutputArray _plotResult)
Python:
cv.plot.Plot2d.render([, _plotResult]) -> _plotResult
setGridLinesNumber()#
void cv::plot::Plot2d::setGridLinesNumber(int gridLinesNumber)
Python:
cv.plot.Plot2d.setGridLinesNumber(gridLinesNumber)
setInvertOrientation()#
void cv::plot::Plot2d::setInvertOrientation(bool _invertOrientation)
Python:
cv.plot.Plot2d.setInvertOrientation(_invertOrientation)
setMaxX()#
void cv::plot::Plot2d::setMaxX(double _plotMaxX)
Python:
cv.plot.Plot2d.setMaxX(_plotMaxX)
setMaxY()#
void cv::plot::Plot2d::setMaxY(double _plotMaxY)
Python:
cv.plot.Plot2d.setMaxY(_plotMaxY)
setMinX()#
void cv::plot::Plot2d::setMinX(double _plotMinX)
Python:
cv.plot.Plot2d.setMinX(_plotMinX)
setMinY()#
void cv::plot::Plot2d::setMinY(double _plotMinY)
Python:
cv.plot.Plot2d.setMinY(_plotMinY)
setNeedPlotLine()#
void cv::plot::Plot2d::setNeedPlotLine(bool _needPlotLine)
Python:
cv.plot.Plot2d.setNeedPlotLine(_needPlotLine)
Switches data visualization mode.
Parameters
_needPlotLine— if true then neighbour plot points will be connected by lines. In other case data will be plotted as a set of standalone points.
setPlotAxisColor()#
void cv::plot::Plot2d::setPlotAxisColor(Scalar _plotAxisColor)
Python:
cv.plot.Plot2d.setPlotAxisColor(_plotAxisColor)
setPlotBackgroundColor()#
void cv::plot::Plot2d::setPlotBackgroundColor(Scalar _plotBackgroundColor)
Python:
cv.plot.Plot2d.setPlotBackgroundColor(_plotBackgroundColor)
setPlotGridColor()#
void cv::plot::Plot2d::setPlotGridColor(Scalar _plotGridColor)
Python:
cv.plot.Plot2d.setPlotGridColor(_plotGridColor)
setPlotLineColor()#
void cv::plot::Plot2d::setPlotLineColor(Scalar _plotLineColor)
Python:
cv.plot.Plot2d.setPlotLineColor(_plotLineColor)
setPlotLineWidth()#
void cv::plot::Plot2d::setPlotLineWidth(int _plotLineWidth)
Python:
cv.plot.Plot2d.setPlotLineWidth(_plotLineWidth)
setPlotSize()#
void cv::plot::Plot2d::setPlotSize(
int _plotSizeWidth,
int _plotSizeHeight )
Python:
cv.plot.Plot2d.setPlotSize(_plotSizeWidth, _plotSizeHeight)
setPlotTextColor()#
void cv::plot::Plot2d::setPlotTextColor(Scalar _plotTextColor)
Python:
cv.plot.Plot2d.setPlotTextColor(_plotTextColor)
setPointIdxToPrint()#
void cv::plot::Plot2d::setPointIdxToPrint(int pointIdx)
Python:
cv.plot.Plot2d.setPointIdxToPrint(pointIdx)
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
Parameters
pointIdx— index of the required point in data array.
setShowGrid()#
void cv::plot::Plot2d::setShowGrid(bool needShowGrid)
Python:
cv.plot.Plot2d.setShowGrid(needShowGrid)
setShowText()#
void cv::plot::Plot2d::setShowText(bool needShowText)
Python:
cv.plot.Plot2d.setShowText(needShowText)
create()#
static Ptr< Plot2d > cv::plot::Plot2d::create(InputArray data)
Python:
cv.plot.Plot2d.create(data) -> retval
cv.plot.Plot2d.create(dataX, dataY) -> retval
cv.plot.Plot2d_create(data) -> retval
cv.plot.Plot2d_create(dataX, dataY) -> retval
Creates Plot2d object.
Parameters
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.
create()#
static Ptr< Plot2d > cv::plot::Plot2d::create(
InputArray dataX,
InputArray dataY )
Python:
cv.plot.Plot2d.create(data) -> retval
cv.plot.Plot2d.create(dataX, dataY) -> retval
cv.plot.Plot2d_create(data) -> retval
cv.plot.Plot2d_create(dataX, dataY) -> retval
Creates Plot2d object.
Parameters
dataX— \(1xN\) or \(Nx1\) matrix \(X\) values of points to plot.dataY— \(1xN\) or \(Nx1\) matrix containing \(Y\) values of points to plot.
Source file#
The documentation for this class was generated from the following file:
opencv2/plot.hpp