Changed some docs. Removed warnings.

parent 0e1775d6
Plot Module Overview
====================
Plot Module
===========
Created by Nuno Moutinho
This Plot module allows you to easily plot data in 1D or 2D. You can change the size of the window, the limits of the axis and the colors of each element. You can also show in real time the plot you are building or save the plot as an image (png).
**********************************
plot. Module to Plot Data from Mat
**********************************
Plot - Module to Plot Data
==========================
.. highlight:: cpp
This Plot module allows you to easily plot data in 1D or 2D. You can change the size of the window, the limits of the axis and the colors of each element. You can also show in real time the plot you are building or save the plot as an image (png).
......@@ -132,7 +132,7 @@ namespace cv
Plot(cv::Mat _plotDataX, cv::Mat _plotDataY)
{
//f the matrix is not Nx1 or 1xN
if(_plotDataX.cols > 1 && _plotDataX.rows > 1 || _plotDataY.cols > 1 && _plotDataY.rows > 1)
if((_plotDataX.cols > 1 && _plotDataX.rows > 1) || (_plotDataY.cols > 1 && _plotDataY.rows > 1))
{
std::cout << "ERROR: Plot data must be a 1xN or Nx1 matrix." << std::endl;
exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment