$search

Plot2d Class Reference

2d plot object. More...

#include <gnugraph.h>

Inheritance diagram for Plot2d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addcommand (const std::string &gcom)
void addcurve (const Matrix &data, const std::string &label="", LineType_en enLineType=DATAPOINTS)
void dump (void)
 Method to dump the content of Plot2d to stdout.
void gnuplot (void)
 Creates a GNUplot graphic.
 Plot2d (void)
 Constructor.
void settitle (const std::string &t)
void setxlabel (const std::string &t)
void setylabel (const std::string &t)

Private Attributes

std::string gnucommand
 GNU plot command.
std::string title
 Graph title.
VectorCurves vCurves
std::string xlabel
 Graph x axis.
std::string ylabel
 Graph y axis.

Detailed Description

2d plot object.

Definition at line 149 of file gnugraph.h.


Constructor & Destructor Documentation

Plot2d::Plot2d ( void   ) 

Constructor.

Definition at line 128 of file gnugraph.cpp.


Member Function Documentation

void Plot2d::addcommand ( const std::string &  gcom  ) 
void Plot2d::addcurve ( const Matrix data,
const std::string &  label = "",
LineType_en  enLineType = DATAPOINTS 
)
void Plot2d::dump ( void   ) 

Method to dump the content of Plot2d to stdout.

Definition at line 310 of file gnugraph.cpp.

void Plot2d::gnuplot ( void   ) 

Creates a GNUplot graphic.

Definition at line 133 of file gnugraph.cpp.

void Plot2d::settitle ( const std::string &  t  ) 
void Plot2d::setxlabel ( const std::string &  t  ) 
void Plot2d::setylabel ( const std::string &  t  ) 

Member Data Documentation

std::string Plot2d::gnucommand [private]

GNU plot command.

Definition at line 165 of file gnugraph.h.

std::string Plot2d::title [private]

Graph title.

Definition at line 162 of file gnugraph.h.

Definition at line 167 of file gnugraph.h.

std::string Plot2d::xlabel [private]

Graph x axis.

Definition at line 163 of file gnugraph.h.

std::string Plot2d::ylabel [private]

Graph y axis.

Definition at line 164 of file gnugraph.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


kni
Author(s): Neuronics AG (see AUTHORS.txt); ROS wrapper by Martin Günther
autogenerated on Tue Mar 5 12:33:27 2013