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 115 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 90 of file gnugraph.cpp.

ROBOOP::GNUcurve::GNUcurve ( void   ) 

Constructor.

Definition at line 82 of file gnugraph.cpp.

ROBOOP::GNUcurve::GNUcurve ( const GNUcurve gnuc  ) 

Copy Constructor.

Definition at line 102 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 122 of file gnugraph.cpp.

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

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

Overload = operator.

Definition at line 111 of file gnugraph.cpp.


Friends And Related Function Documentation

friend class Plot2d [friend]

Plot2d need access to private data.

Definition at line 116 of file gnugraph.h.


Member Data Documentation

string ROBOOP::GNUcurve::clabel [private]

string defining the curve label for the legend

Definition at line 118 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 119 of file gnugraph.h.

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

n x 2 matrix defining the curve */

Definition at line 117 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 Wed Oct 4 00:00:45 2006 by Doxygen 1.4.7