Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Examples

Gnuplot::Dataset Class Reference

#include <gnuplot.h>

List of all members.


Detailed Description

template<class T>
class Gnuplot< T >::Dataset

data buffer for one channel, organized as ring buffer

Definition at line 69 of file gnuplot.h.

Public Member Functions

 Dataset (const std::string &title="", const std::string &style="", int buffersize=256)
 ~Dataset ()
void putData (double v)
void plot (FILE *f, int start=0, int end=0)
double getData (int i)

Public Attributes

std::string title
std::string style
bool show


Constructor & Destructor Documentation

Dataset const std::string &  title = "",
const std::string &  style = "",
int  buffersize = 256
[inline]
 

contruct a data buffer with (gnuplot) title and style. Definition at line 78 of file gnuplot.h.

~Dataset  )  [inline]
 

Definition at line 86 of file gnuplot.h.


Member Function Documentation

double getData int  i  )  [inline]
 

get buffer content Definition at line 102 of file gnuplot.h.

void plot FILE *  f,
int  start = 0,
int  end = 0
[inline]
 

print buffer content to file pointer, usually a pipe Definition at line 95 of file gnuplot.h.

void putData double  v  )  [inline]
 

put new data in (ring) buffer Definition at line 90 of file gnuplot.h.


Member Data Documentation

bool show
 

Definition at line 76 of file gnuplot.h.

std::string style
 

Definition at line 75 of file gnuplot.h.

std::string title
 

Definition at line 74 of file gnuplot.h.


The documentation for this class was generated from the following file:
Generated on Wed Apr 6 10:22:31 2005 for Gnuplot by doxygen 1.3.8