#include "plot.hpp"
§ create() [1/2]
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() [2/2]
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. |
§ render()
virtual void cv::plot::Plot2d::render |
( |
OutputArray |
_plotResult | ) |
|
|
pure virtual |
§ setGridLinesNumber()
virtual void cv::plot::Plot2d::setGridLinesNumber |
( |
int |
gridLinesNumber | ) |
|
|
pure virtual |
§ setInvertOrientation()
virtual void cv::plot::Plot2d::setInvertOrientation |
( |
bool |
_invertOrientation | ) |
|
|
pure virtual |
§ setMaxX()
virtual void cv::plot::Plot2d::setMaxX |
( |
double |
_plotMaxX | ) |
|
|
pure virtual |
§ setMaxY()
virtual void cv::plot::Plot2d::setMaxY |
( |
double |
_plotMaxY | ) |
|
|
pure virtual |
§ setMinX()
virtual void cv::plot::Plot2d::setMinX |
( |
double |
_plotMinX | ) |
|
|
pure virtual |
§ setMinY()
virtual void cv::plot::Plot2d::setMinY |
( |
double |
_plotMinY | ) |
|
|
pure virtual |
§ setNeedPlotLine()
virtual void cv::plot::Plot2d::setNeedPlotLine |
( |
bool |
_needPlotLine | ) |
|
|
pure virtual |
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()
virtual void cv::plot::Plot2d::setPlotAxisColor |
( |
Scalar |
_plotAxisColor | ) |
|
|
pure virtual |
§ setPlotBackgroundColor()
virtual void cv::plot::Plot2d::setPlotBackgroundColor |
( |
Scalar |
_plotBackgroundColor | ) |
|
|
pure virtual |
§ setPlotGridColor()
virtual void cv::plot::Plot2d::setPlotGridColor |
( |
Scalar |
_plotGridColor | ) |
|
|
pure virtual |
§ setPlotLineColor()
virtual void cv::plot::Plot2d::setPlotLineColor |
( |
Scalar |
_plotLineColor | ) |
|
|
pure virtual |
§ setPlotLineWidth()
virtual void cv::plot::Plot2d::setPlotLineWidth |
( |
int |
_plotLineWidth | ) |
|
|
pure virtual |
§ setPlotSize()
virtual void cv::plot::Plot2d::setPlotSize |
( |
int |
_plotSizeWidth, |
|
|
int |
_plotSizeHeight |
|
) |
| |
|
pure virtual |
§ setPlotTextColor()
virtual void cv::plot::Plot2d::setPlotTextColor |
( |
Scalar |
_plotTextColor | ) |
|
|
pure virtual |
§ setPointIdxToPrint()
virtual void cv::plot::Plot2d::setPointIdxToPrint |
( |
int |
pointIdx | ) |
|
|
pure virtual |
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()
virtual void cv::plot::Plot2d::setShowGrid |
( |
bool |
needShowGrid | ) |
|
|
pure virtual |
§ setShowText()
virtual void cv::plot::Plot2d::setShowText |
( |
bool |
needShowText | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /build/master-contrib_docs-lin64/opencv_contrib/modules/plot/include/opencv2/plot.hpp