|
RTP Trace System
1.0
|
GNUPlot Data. More...
#include <gnuplot.h>
Public Member Functions | |
| GNUPlotScript () | |
| ~GNUPlotScript () | |
| bool | open (const char *prefix) |
| void | close () |
| void | plot (const char *pagetitle, const char *linetitle, const char *xlabel, const char *ylabel, const char *info, const bool ownPage, const GNUPlotData &data, const cardinal column, const int64 xRangeMin=0, const int64 xRangeMax=0, const int64 yRangeMin=0, const int64 yRangeMax=0) |
| void | done () |
Private Member Functions | |
| void | newPage (const char *title, const char *xlabel, const char *ylabel, const char *info) |
Private Attributes | |
| cardinal | Usage |
| String | Name |
| ofstream | Stream |
| card64 | TimeStamp |
| String | InfoString |
| bool | Ready |
GNUPlot Data.
This is a GNUplot script writer class.
Constructor.
Destructor.
| void Coral::GNUPlotScript::close | ( | ) |
Close script file.
| void Coral::GNUPlotScript::done | ( | ) |
End multi-line plot command.
| void Coral::GNUPlotScript::newPage | ( | const char * | title, |
| const char * | xlabel, | ||
| const char * | ylabel, | ||
| const char * | info | ||
| ) | [private] |
| bool Coral::GNUPlotScript::open | ( | const char * | prefix | ) |
Open script file. The extension ".gp" will be added automatically.
| prefix | Name prefix. |
| void Coral::GNUPlotScript::plot | ( | const char * | pagetitle, |
| const char * | linetitle, | ||
| const char * | xlabel, | ||
| const char * | ylabel, | ||
| const char * | info, | ||
| const bool | ownPage, | ||
| const GNUPlotData & | data, | ||
| const cardinal | column, | ||
| const int64 | xRangeMin = 0, |
||
| const int64 | xRangeMax = 0, |
||
| const int64 | yRangeMin = 0, |
||
| const int64 | yRangeMax = 0 |
||
| ) |
Write "plot" command.
| pagetitle | Page title. |
| linetitle | Line title. |
| xlabel | X axis label. |
| ylabel | Y axis label. |
| info | Information string. |
| ownPage | true, to begin own page for this plot; false otherwise. |
| data | GNUPlotData containing data to plot. üram column Column of data to plot. |
| xRangeMin | Minimum X value; 0 = Auto-scale. |
| xRangeMax | Maximum X value; 0 = Auto-scale. |
| yRangeMin | Minimum Y value; 0 = Auto-scale. |
| yRangeMax | Maximum Y value; 0 = Auto-scale. |
String Coral::GNUPlotScript::InfoString [private] |
String Coral::GNUPlotScript::Name [private] |
bool Coral::GNUPlotScript::Ready [private] |
ofstream Coral::GNUPlotScript::Stream [private] |
card64 Coral::GNUPlotScript::TimeStamp [private] |
cardinal Coral::GNUPlotScript::Usage [private] |