My Project
|
Public Member Functions | |
XYPlotWindow (QWidget *parent=0) | |
Constructor. | |
~XYPlotWindow () | |
Destructor. | |
void | AddPointToGraph (double x, double y) |
Adds a coordinate (x,y) to the XX and YY vectors. More... | |
void | Plot () |
Plots the coordinates inserted in the vectors XX and YY. | |
Private Attributes | |
Ui::XYPlotWindow * | ui |
QVector< double > | XX |
QVector< double > | YY |
QVector< double > | XXN |
QVector< double > | YYN |
void XYPlotWindow::AddPointToGraph | ( | double | x, |
double | y | ||
) |
Adds a coordinate (x,y) to the XX and YY vectors.
x | value of the coordinate (x,y) to be added to vector XX. |
y | value of the coordinate (x,y) to be added to vector YY. |