My Project
Public Member Functions | Private Attributes | List of all members
XYPlotWindow Class Reference
Inheritance diagram for XYPlotWindow:

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
 

Member Function Documentation

void XYPlotWindow::AddPointToGraph ( double  x,
double  y 
)

Adds a coordinate (x,y) to the XX and YY vectors.

Parameters
xvalue of the coordinate (x,y) to be added to vector XX.
yvalue of the coordinate (x,y) to be added to vector YY.

The documentation for this class was generated from the following files: