Homepage Demos Overview Downloads Tutorials Reference
Credits

ROBOOP::GNUcurve Class Reference

#include <gnugraph.h>

List of all members.


Detailed Description

Object for one curve.

Definition at line 116 of file gnugraph.h.

Public Member Functions

 GNUcurve (const Matrix &data, const string &label="", int type=LINES)
 Constructor.
 GNUcurve (void)
 Constructor.
 GNUcurve (const GNUcurve &gnuc)
 Copy Constructor.
GNUcurveoperator= (const GNUcurve &gnuc)
 Overload = operator.
void dump (void)
 Method to dump the content of a curve to stdout.

Private Attributes

Matrix xy
 n x 2 matrix defining the curve */
string clabel
 string defining the curve label for the legend
int ctype

Friends

class Plot2d
 Plot2d need access to private data.


Constructor & Destructor Documentation

ROBOOP::GNUcurve::GNUcurve const Matrix data,
const string &  label = "",
int  type = LINES
 

Constructor.

Definition at line 91 of file gnugraph.cpp.

ROBOOP::GNUcurve::GNUcurve void   ) 
 

Constructor.

Definition at line 83 of file gnugraph.cpp.

ROBOOP::GNUcurve::GNUcurve const GNUcurve gnuc  ) 
 

Copy Constructor.

Definition at line 103 of file gnugraph.cpp.


Member Function Documentation

void ROBOOP::GNUcurve::dump void   ) 
 

Method to dump the content of a curve to stdout.

Definition at line 123 of file gnugraph.cpp.

Referenced by ROBOOP::Plot2d::dump().

GNUcurve & ROBOOP::GNUcurve::operator= const GNUcurve gnuc  ) 
 

Overload = operator.

Definition at line 112 of file gnugraph.cpp.


Friends And Related Function Documentation

friend class Plot2d [friend]
 

Plot2d need access to private data.

Definition at line 117 of file gnugraph.h.


Member Data Documentation

string ROBOOP::GNUcurve::clabel [private]
 

string defining the curve label for the legend

Definition at line 119 of file gnugraph.h.

Referenced by dump(), GNUcurve(), ROBOOP::Plot2d::gnuplot(), and operator=().

int ROBOOP::GNUcurve::ctype [private]
 

curve type: lines, points, linespoints, impulses, dots, steps, boxes

Definition at line 120 of file gnugraph.h.

Referenced by dump(), GNUcurve(), ROBOOP::Plot2d::gnuplot(), and operator=().

Matrix ROBOOP::GNUcurve::xy [private]
 

n x 2 matrix defining the curve */

Definition at line 118 of file gnugraph.h.

Referenced by dump(), GNUcurve(), ROBOOP::Plot2d::gnuplot(), and operator=().


The documentation for this class was generated from the following files:

ROBOOP v1.21a
Generated Tue Jan 4 15:42:30 2005 by Doxygen 1.4.0