gnugraph.h File Reference


Detailed Description

Header file for graphics definitions.

Definition in file gnugraph.h.

#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdexcept>
#include <boost/shared_ptr.hpp>
#include "newmatap.h"
#include "newmatio.h"
#include <sys/stat.h>
#include <sstream>
#include <vector>

Go to the source code of this file.

Classes

class  GNUcurve
 Object for one curve. More...
class  Plot2d
 2d plot object. More...
class  Plot3d
 3d plot object. More...
class  IO_matrix_file
 Read and write data at every iterations in a file. More...
class  Plot_file
 Creates a graphic from a data file. More...

Defines

#define GNUPLOT   "gnuplot"
#define WANT_STRING
#define WANT_STREAM
#define WANT_FSTREAM
#define WANT_MATH
#define OUT_OF_MEMORY   -1
#define X_Y_DATA_NO_MATCH   -2
#define LABELS_NBR_NO_MATCH   -3
#define NCURVESMAX   10
#define IO_COULD_NOT_OPEN_FILE   -1
#define IO_MISMATCH_SIZE   -2
#define IO_DATA_EMPTY   -3
#define IO_MISMATCH_ELEMENT_NBR   -4
#define PROBLEM_FILE_READING   -5

Typedefs

typedef boost::shared_ptr<
GNUcurve
PSHR_Curve
typedef std::vector< PSHR_CurveVectorCurves

Enumerations

enum  LineType_en {
  LINES, DATAPOINTS, LINESPOINTS, IMPULSES,
  DOTS, STEPS, BOXES
}

Functions

short set_plot2d (const char *title_graph, const char *x_axis_title, const char *y_axis_title, const char *label, LineType_en enLineType, const Matrix &xdata, const Matrix &ydata, int start_y, int end_y)
short set_plot2d (const char *title_graph, const char *x_axis_title, const char *y_axis_title, const vector< char * > label, LineType_en enLineType, const Matrix &xdata, const Matrix &ydata, const vector< int > &data_select)
short set_plot3d (const Matrix &xyz, const std::string &title_graph, const std::string &x_axis_title, const std::string &y_axis_title, const std::string &z_axis_title)

Variables

static const char header_gnugraph_rcsid [] = "$Id: gnugraph.h,v 1.13 2006/05/16 19:24:26 gourdeau Exp $"
 RCS/CVS version.


Generated on Thu Dec 14 08:52:18 2006 for ROBOOP, A Robotics Object Oriented Package in C++ by  doxygen 1.5.1