Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
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 std::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 */
std::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 std::string &  label = "",
int  type = LINES 
)

Constructor.

Definition at line 93 of file gnugraph.cpp.

ROBOOP::GNUcurve::GNUcurve ( void   ) 

Constructor.

Definition at line 85 of file gnugraph.cpp.

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

Copy Constructor.

Definition at line 105 of file gnugraph.cpp.


Member Function Documentation

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

Overload = operator.

Definition at line 114 of file gnugraph.cpp.

void ROBOOP::GNUcurve::dump ( void   ) 

Method to dump the content of a curve to stdout.

Definition at line 125 of file gnugraph.cpp.

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


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

n x 2 matrix defining the curve */

Definition at line 117 of file gnugraph.h.

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

std::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=().


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

ROBOOP v1.21a
Generated Thu Nov 22 00:51:35 2007 by Doxygen 1.5.4