#include <TxLinePlotDesc.h>
Public Methods | |
| TxLinePlotDesc () | |
| default constructor. More... | |
| TxLinePlotDesc (const TxLinePlotData *) | |
| typical constructor; includes pointer to class holding the plot data. More... | |
| TxLinePlotDesc (const TxLinePlotData *, const TXSTD::string &, const TXSTD::string &, const TXSTD::string &, int, int) | |
| constructor specifying pointer to class holding the plot data, plus (in order) the x label, the y label, the plot title, an integer to access the x (horizontal) data, and an integer to access the y (vertical) data. More... | |
| TxLinePlotDesc (const TxLinePlotDesc &) | |
| copy constructor. More... | |
| const TxLinePlotDesc& | operator= (const TxLinePlotDesc &) |
| assignment operator. More... | |
| virtual | ~TxLinePlotDesc () |
| virtual destructor. More... | |
| const TXSTD::string | getTitle () const |
| get title of plot. More... | |
| const TXSTD::string | getXLabel () const |
| get (horizontal) x label of plot. More... | |
| const TXSTD::string | getYLabel () const |
| get (vertical) y label of plot. More... | |
| double | getXMin () const |
| get minimum value for x (horizontal) data. More... | |
| double | getXMax () const |
| get maximum value for x (horizontal) data. More... | |
| double | getYMin () const |
| get minimum value for y (vertical) data. More... | |
| double | getYMax () const |
| get maximum value for y (vertical) data. More... | |
| double | getXMinPlot () const |
| get minimum value for (horizontal) x-axis of plot. More... | |
| double | getXMaxPlot () const |
| get maximum value for (horizontal) x-axis of plot. More... | |
| double | getYMinPlot () const |
| get minimum value for (vertical) y-axis of plot. More... | |
| double | getYMaxPlot () const |
| get maximum value for (vertical) y-axis of plot. More... | |
| void | setXMin (double) |
| set minimum value for x (horizontal) data. More... | |
| void | setXMinPlot (double) |
| set minimum value for (horizontal) x-axis of plot. More... | |
| void | setXMinAuto (int) |
| set flag indicating whether xMinPlot will be calculated automatically from the data. More... | |
| void | setXMinNice (int) |
| identical to method setXMinAuto(int). More... | |
| void | setXMax (double) |
| set maximum value for x (horizontal) data. More... | |
| void | setXMaxPlot (double) |
| set maximum value for (horizontal) x-axis of plot. More... | |
| void | setXMaxAuto (int) |
| set flag indicating whether xMaxPlot will be calculated automatically from the data. More... | |
| void | setXMaxNice (int) |
| identical to method setXMaxAuto(int). More... | |
| void | setYMin (double) |
| set minimum value for y (vertical) data. More... | |
| void | setYMinPlot (double) |
| set minimum value for (vertical) y-axis of plot. More... | |
| void | setYMinAuto (int) |
| set flag indicating whether yMinPlot will be calculated automatically from the data. More... | |
| void | setYMinNice (int) |
| identical to method setYMinAuto(int). More... | |
| void | setYMax (double) |
| set maximum value for y (vertical) data. More... | |
| void | setYMaxPlot (double) |
| set maximum value for (vertical) y-axis of plot. More... | |
| void | setYMaxAuto (int) |
| set flag indicating whether yMaxPlot will be calculated automatically from the data. More... | |
| void | setYMaxNice (int) |
| identical to method setYMaxAuto(int). More... | |
| void | updateXMin (int) |
| update xMinPlot using only the specified number of recently added data points. More... | |
| void | updateXMax (int) |
| update xMaxPlot using only the specified number of recently added data points. More... | |
| void | updateYMin (int) |
| update yMinPlot using only the specified number of recently added data points. More... | |
| void | updateYMax (int) |
| update yMaxPlot using only the specified number of recently added data points. More... | |
| void | calcLims () |
| calculate the minima & maxima for the plot. More... | |
| void | calcXMin () |
| calculate the minimum for the (horizontal) x-axis of the plot. More... | |
| void | calcXMax () |
| calculate the maximum for the (horizontal) x-axis of the plot. More... | |
| void | calcYMin () |
| calculate the minimum for the (vertical) y-axis of the plot. More... | |
| void | calcYMax () |
| calculate the maximum for the (vertical) y-axis of the plot. More... | |
| void | appendSeries (int, int) |
| Append a new TxDataSeries object to the list, specifying integers for access to the horizontal and vertical data, respectively. More... | |
| int | getNumSeries () |
| get the number of data series associated with this plot description. More... | |
| int | getXIndex (int iseries) |
| get the integer used to access the x (horizontal) data associated with the specified TxDataSeries object. More... | |
| int | getYIndex (int iseries) |
| get the integer used to access the y (vertical) data associated with the specified TxDataSeries object. More... | |
Private Attributes | |
| TXSTD::string | xLabel |
| label for the (horizontal) x-axis. More... | |
| TXSTD::string | yLabel |
| label for the (vertical) y-axis. More... | |
| TXSTD::string | title |
| title for the plot. More... | |
| const TxLinePlotData* | txLinePlotData |
| pointer to the TxLinePlotData object that holds the actual data to be plotted. More... | |
| TXSTD::vector<TxDataSeries> | txDataSeries |
| A list of TxDataSeries objects: a TxDataSeries object is instantiated for each actual data series stored in the TxLinePlotData object; these objects hold relevant plotting data, like minima, maxima, symbol for plotting, etc. More... | |
| double | xMin |
| Minimum value for the horizontal data used in this plot. More... | |
| double | xMinPlot |
| Minimum horizontal value for this plot. More... | |
| int | xMinAuto |
| flag indicating whether to automatically calculate xMinPlot or to use a specified value. More... | |
| int | xMinNice |
| not used. More... | |
| double | xMax |
| Maximum value for the horizontal data used in this plot. More... | |
| double | xMaxPlot |
| Maximum horizontal value for this plot. More... | |
| int | xMaxAuto |
| flag indicating whether to automatically calculate xMaxPlot or to use a specified value. More... | |
| int | xMaxNice |
| not used. More... | |
| double | yMin |
| Minimum value for the vertical data used in this plot. More... | |
| double | yMinPlot |
| Minimum vertical value for this plot. More... | |
| int | yMinAuto |
| flag indicating whether to automatically calculate yMinPlot or to use a specified value. More... | |
| int | yMinNice |
| not used. More... | |
| double | yMax |
| Maximum value for the vertical data used in this plot. More... | |
| double | yMaxPlot |
| Maximum vertical value for this plot. More... | |
| int | yMaxAuto |
| flag indicating whether to automatically calculate yMaxPlot or to use a specified value. More... | |
| int | yMaxNice |
| not used. More... | |
Friends | |
| ostream& | operator<< (ostream &, const TxLinePlotDesc &) |
| overload the output operator. More... | |
This class is heavily used by TxLinePlotData objects.
Copyright 1996, 1997, 1998 by Tech-X Corporation
Definition at line 37 of file TxLinePlotDesc.h.
|
|
default constructor.
|
|
|
typical constructor; includes pointer to class holding the plot data.
|
|
|
constructor specifying pointer to class holding the plot data, plus (in order) the x label, the y label, the plot title, an integer to access the x (horizontal) data, and an integer to access the y (vertical) data.
|
|
|
copy constructor.
|
|
|
virtual destructor.
Definition at line 58 of file TxLinePlotDesc.h. |
|
|
Append a new TxDataSeries object to the list, specifying integers for access to the horizontal and vertical data, respectively.
|
|
|
calculate the minima & maxima for the plot.
Definition at line 154 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::calcLims().
|
|
|
calculate the maximum for the (horizontal) x-axis of the plot.
Referenced by calcLims().
|
|
|
calculate the minimum for the (horizontal) x-axis of the plot.
Referenced by calcLims().
|
|
|
calculate the maximum for the (vertical) y-axis of the plot.
Referenced by calcLims().
|
|
|
calculate the minimum for the (vertical) y-axis of the plot.
Referenced by calcLims().
|
|
|
get the number of data series associated with this plot description.
Definition at line 179 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getNumSeries().
|
|
|
get title of plot.
Definition at line 61 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getTitle().
|
|
|
get the integer used to access the x (horizontal) data associated with the specified TxDataSeries object.
Definition at line 185 of file TxLinePlotDesc.h. |
|
|
get (horizontal) x label of plot.
Definition at line 64 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getXLabel().
|
|
|
get maximum value for x (horizontal) data.
Definition at line 73 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getXMax().
|
|
|
get maximum value for (horizontal) x-axis of plot.
Definition at line 85 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getXMaxPlot().
|
|
|
get minimum value for x (horizontal) data.
Definition at line 70 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getXMin().
|
|
|
get minimum value for (horizontal) x-axis of plot.
Definition at line 82 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getXMinPlot().
|
|
|
get the integer used to access the y (vertical) data associated with the specified TxDataSeries object.
Definition at line 191 of file TxLinePlotDesc.h. |
|
|
get (vertical) y label of plot.
Definition at line 67 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getYLabel().
|
|
|
get maximum value for y (vertical) data.
Definition at line 79 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getYMax().
|
|
|
get maximum value for (vertical) y-axis of plot.
Definition at line 91 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getYMaxPlot().
|
|
|
get minimum value for y (vertical) data.
Definition at line 76 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getYMin().
|
|
|
get minimum value for (vertical) y-axis of plot.
Definition at line 88 of file TxLinePlotDesc.h. Referenced by TxLinePlotData::getYMinPlot().
|
|
|
assignment operator.
|
|
|
set maximum value for x (horizontal) data.
Referenced by TxLinePlotData::setXMax().
|
|
|
set flag indicating whether xMaxPlot will be calculated automatically from the data.
Referenced by TxLinePlotData::setXMaxAuto().
|
|
|
identical to method setXMaxAuto(int).
Referenced by TxLinePlotData::setXMaxNice().
|
|
|
set maximum value for (horizontal) x-axis of plot.
Referenced by TxLinePlotData::setXMaxPlot().
|
|
|
set minimum value for x (horizontal) data.
Referenced by TxLinePlotData::setXMin().
|
|
|
set flag indicating whether xMinPlot will be calculated automatically from the data.
Referenced by TxLinePlotData::setXMinAuto().
|
|
|
identical to method setXMinAuto(int).
Referenced by TxLinePlotData::setXMinNice().
|
|
|
set minimum value for (horizontal) x-axis of plot.
Referenced by TxLinePlotData::setXMinPlot().
|
|
|
set maximum value for y (vertical) data.
Referenced by TxLinePlotData::setYMax().
|
|
|
set flag indicating whether yMaxPlot will be calculated automatically from the data.
Referenced by TxLinePlotData::setYMaxAuto().
|
|
|
identical to method setYMaxAuto(int).
Referenced by TxLinePlotData::setYMaxNice().
|
|
|
set maximum value for (vertical) y-axis of plot.
Referenced by TxLinePlotData::setYMaxPlot().
|
|
|
set minimum value for y (vertical) data.
Referenced by TxLinePlotData::setYMin().
|
|
|
set flag indicating whether yMinPlot will be calculated automatically from the data.
Referenced by TxLinePlotData::setYMinAuto().
|
|
|
identical to method setYMinAuto(int).
Referenced by TxLinePlotData::setYMinNice().
|
|
|
set minimum value for (vertical) y-axis of plot.
Referenced by TxLinePlotData::setYMinPlot().
|
|
|
update xMaxPlot using only the specified number of recently added data points.
|
|
|
update xMinPlot using only the specified number of recently added data points.
|
|
|
update yMaxPlot using only the specified number of recently added data points.
|
|
|
update yMinPlot using only the specified number of recently added data points.
|
|
|
overload the output operator.
|
|
|
title for the plot.
Definition at line 203 of file TxLinePlotDesc.h. |
|
|
A list of TxDataSeries objects: a TxDataSeries object is instantiated for each actual data series stored in the TxLinePlotData object; these objects hold relevant plotting data, like minima, maxima, symbol for plotting, etc.
Definition at line 212 of file TxLinePlotDesc.h. |
|
|
pointer to the TxLinePlotData object that holds the actual data to be plotted.
Definition at line 206 of file TxLinePlotDesc.h. |
|
|
label for the (horizontal) x-axis.
Definition at line 199 of file TxLinePlotDesc.h. |
|
|
Maximum value for the horizontal data used in this plot.
Definition at line 224 of file TxLinePlotDesc.h. |
|
|
flag indicating whether to automatically calculate xMaxPlot or to use a specified value.
Definition at line 228 of file TxLinePlotDesc.h. |
|
|
not used.
Definition at line 230 of file TxLinePlotDesc.h. |
|
|
Maximum horizontal value for this plot.
Definition at line 226 of file TxLinePlotDesc.h. |
|
|
Minimum value for the horizontal data used in this plot.
Definition at line 215 of file TxLinePlotDesc.h. |
|
|
flag indicating whether to automatically calculate xMinPlot or to use a specified value.
Definition at line 219 of file TxLinePlotDesc.h. |
|
|
not used.
Definition at line 221 of file TxLinePlotDesc.h. |
|
|
Minimum horizontal value for this plot.
Definition at line 217 of file TxLinePlotDesc.h. |
|
|
label for the (vertical) y-axis.
Definition at line 201 of file TxLinePlotDesc.h. |
|
|
Maximum value for the vertical data used in this plot.
Definition at line 242 of file TxLinePlotDesc.h. |
|
|
flag indicating whether to automatically calculate yMaxPlot or to use a specified value.
Definition at line 246 of file TxLinePlotDesc.h. |
|
|
not used.
Definition at line 248 of file TxLinePlotDesc.h. |
|
|
Maximum vertical value for this plot.
Definition at line 244 of file TxLinePlotDesc.h. |
|
|
Minimum value for the vertical data used in this plot.
Definition at line 233 of file TxLinePlotDesc.h. |
|
|
flag indicating whether to automatically calculate yMinPlot or to use a specified value.
Definition at line 237 of file TxLinePlotDesc.h. |
|
|
not used.
Definition at line 239 of file TxLinePlotDesc.h. |
|
|
Minimum vertical value for this plot.
Definition at line 235 of file TxLinePlotDesc.h. |
Copyright Tech-X Corporation, all rights reserved.