RTP Trace System  1.0
Coral::GNUPlotScript Class Reference

GNUPlot Data. More...

#include <gnuplot.h>

List of all members.

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

Detailed Description

GNUPlot Data.

This is a GNUplot script writer class.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation


Member Function Documentation

Close script file.

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.

Parameters:
prefixName prefix.
Returns:
true, if file has been opened; false otherwise.
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.

Parameters:
pagetitlePage title.
linetitleLine title.
xlabelX axis label.
ylabelY axis label.
infoInformation string.
ownPagetrue, to begin own page for this plot; false otherwise.
dataGNUPlotData containing data to plot. üram column Column of data to plot.
xRangeMinMinimum X value; 0 = Auto-scale.
xRangeMaxMaximum X value; 0 = Auto-scale.
yRangeMinMinimum Y value; 0 = Auto-scale.
yRangeMaxMaximum Y value; 0 = Auto-scale.

Member Data Documentation

ofstream Coral::GNUPlotScript::Stream [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines