ROBOOP::Plot2d Class Reference#include <gnugraph.h>
Inheritance diagram for ROBOOP::Plot2d:
[legend]List of all members.
Detailed Description
2d plot object.
Definition at line 135 of file gnugraph.h.
|
Public Member Functions |
| | Plot2d (void) |
| | Constructor.
|
| | ~Plot2d (void) |
| | Destructor.
|
| void | dump (void) |
| | Method to dump the content of Plot2d to stdout.
|
| void | settitle (const string &t) |
| | Set the title.
|
| void | setxlabel (const string &t) |
| | Set the x axis name.
|
| void | setylabel (const string &t) |
| | Set the y axis name.
|
| void | addcurve (const Matrix &data, const string &label="", int type=LINES) |
| | Add a curve on the graphic.
|
| void | gnuplot (void) |
| | Creates a GNUplot graphic.
|
| void | addcommand (const string &gcom) |
| | Add GNUplot command.
|
Private Attributes |
| string | title |
| | Graph title.
|
| string | xlabel |
| | Graph x axis.
|
| string | ylabel |
| | Graph y axis.
|
| string | gnucommand |
| | GNU plot command.
|
| int | ncurves |
| | Number of curves.
|
| GNUcurve * | curves |
| | Pointer to GNUcurve object.
|
Constructor & Destructor Documentation
| ROBOOP::Plot2d::Plot2d |
( |
void |
|
) |
|
|
| ROBOOP::Plot2d::~Plot2d |
( |
void |
|
) |
|
|
Member Function Documentation
| void ROBOOP::Plot2d::addcommand |
( |
const string & |
gcom |
) |
|
|
| void ROBOOP::Plot2d::addcurve |
( |
const Matrix & |
data, |
|
|
const string & |
label = "", |
|
|
int |
type = LINES |
|
) |
|
|
| void ROBOOP::Plot2d::dump |
( |
void |
|
) |
|
|
| void ROBOOP::Plot2d::gnuplot |
( |
void |
|
) |
|
|
| void ROBOOP::Plot2d::settitle |
( |
const string & |
t |
) |
|
|
| void ROBOOP::Plot2d::setxlabel |
( |
const string & |
t |
) |
|
|
| void ROBOOP::Plot2d::setylabel |
( |
const string & |
t |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
|