|
| const DataSeries & | getSeries (const size_t &i) const |
| | Returns the ith series of measurements. More...
|
| |
| const DataSeries & | selectSeries (const size_t &i) |
| | Returns the ith series of measurements. More...
|
| |
| const DataSeries & | selectSeries (const std::string &name) |
| | Returns the series of measurements after its name. More...
|
| |
|
const DataSeries & | getCurrentSeries () const |
| | Returns the current series of measurements.
|
| |
| DataSeries & | refSeries (const size_t &i) |
| | Returns the ith series of measurements. More...
|
| |
| DataSeries & | refSeries (const std::string &nom) |
| | Returns the ith series of measurements. More...
|
| |
|
DataSeries & | refCurrentSeries () |
| | Returns the current series of measurements.
|
| |
| | PlotData () |
| | Inits a plot with series of data. More...
|
| |
|
| ~PlotData () |
| | destructor.
|
| |
| | PlotData (const PlotData &PD) |
| | copy constructor. More...
|
| |
|
void | clear () |
| | initialize to empty
|
| |
| void | merge (const PlotData &PD) |
| | merges another plot data to the current one. More...
|
| |
| size_t | size () const |
| | get the number of series. More...
|
| |
|
size_t | getCurrentSeriesNumber () const |
| | gets the current series number.
|
| |
| void | setSeriesName (const size_t &i, const std::string &nom) |
| | Sets the name of a series. More...
|
| |
| const std::string & | getSeriesName (const size_t &i) const |
| | Gets the name of a series. More...
|
| |
|
const std::string & | getCurrentSeriesName () const |
| | Gets the name of the current series.
|
| |
| void | setCurrentSeriesName (const std::string &nom) |
| | Sets the name of the current series. More...
|
| |
| void | initWatch (const size_t &i) |
| | Inits the watch on a series. More...
|
| |
|
void | initCurrentSeriesWatch () |
| | Inits the watch to current series.
|
| |
| void | newSeries (const std::string &nom="") |
| | Creates a new series. More...
|
| |
| void | finishSeries () |
| | Finish a series of measurements. More...
|
| |
| size_t | getSeriesSize (const size_t &i) const |
| | size of a series. More...
|
| |
|
size_t | getCurrentSeriesSize () const |
| | size of the current series.
|
| |
|
bool | selectNextSeries () |
| | goes to the next series of points
|
| |
|
void | selectFirstSeries () |
| | selects the first series
|
| |
| template<class T > |
| void | setSeriesPointLabel (const size_t &i, const size_t &j, const T &nom) |
| | Sets the name of a point. More...
|
| |
| void | setCurrentSeriesPointLabel (const size_t &j, const std::string &nom) |
| | Sets the name of a point. More...
|
| |
| std::string | getSeriesLabel (const size_t &i) const |
| | gets the name of a series. More...
|
| |
| std::string | getCurrentSeriesLabel () const |
| | gets the name of a series. More...
|
| |
| const svector_t & | getSeriesLabels () const |
| | gets all the names in the series. More...
|
| |
| void | setSeriesEntry (const size_t &i, const std::string &nam, const double &val, const double &xval=NAN, const double &yval=NAN) |
| | sets a new entry. More...
|
| |
| void | setSeriesEntry (const std::string &nom, const std::string &nam, const double &val, const double &xval=NAN, const double &yval=NAN) |
| | sets a new entry. More...
|
| |
| template<class T > |
| void | setCurrentSeriesEntry (const T &nam, const double &val, const double &xval=NAN, const double &yval=NAN) |
| | sets a new entry. More...
|
| |
| const std::vector< DataSeries > & | getTable () const |
| | gets a reference to the array of data. More...
|
| |
| std::vector< DataSeries > & | refTable () |
| | gets a reference to the array of data. More...
|
| |
| bool | keepon (size_t &repet, double tim, bool usePrediction=false) |
| | Continue for another time measure ? More...
|
| |
| void | save (const std::string &filename, const std::string &title="", const std::string &xtitle="", const std::string &ytitle="") |
| | saves the data in XML format. More...
|
| |
|
const std::string & | getCurrentEntryId () const |
| | returns the unique ID of the current series last entry
|
| |
| const std::string & | getCurrentSeriesId (const size_t &j) const |
| | returns the unique ID of the current series j'th entry. More...
|
| |
| const std::string & | getId (const size_t &i, const size_t &j) |
| | returns the unique ID of the i'th series j'th entry. More...
|
| |
| const std::string & | getId (const std::string &name, const size_t &j) |
| | returns the unique ID of the i'th series j'th entry. More...
|
| |
The raw data to plot.
Represents the labels for the points (X axis) and the values for each series of measures (Y axis).
Members that set/get are named as follows :
- getX(nom,j) return the j'th element of series named nom
- getX(i,j) return the j'th element of series number i
- getCurrentSeriesX(j) return the j'th element of current series
- getCurrentEntryX() return the current element of current series (ie the last one)
- .
Members are also named as follows :
- getXXX is a const member
- selectXXX is non const and may create/update stuff
- refXXX returns a reference
- setXXX sets something