Multivariate Point Process Package  0.1
Public Member Functions | List of all members
Plot Class Reference

Plot is a wrapper of the GNU plot. More...

#include "include/GNUPlotWrapper.h"

Public Member Functions

 Plot (const std::string &driver, const std::string &x_label, const std::string &y_label)
 
void PlotLinePoint (const std::vector< double > &gp_x, const std::vector< double > &gp_y, const std::vector< double > &gp_point_x, const std::vector< double > &gp_point_y, const std::string &line_title, const std::string &point_title)
 Plot line and dots. More...
 
void PlotScatterLine (const std::vector< double > &gp_x, const std::vector< double > &gp_y, const std::string &line_title)
 Plot lines. More...
 
void PlotLinePoint (const std::vector< std::vector< double > > &gp_x, const std::vector< std::vector< double > > &gp_y, const std::vector< std::vector< double > > &gp_point_x, const std::vector< std::vector< double > > &gp_point_y, const std::vector< std::string > &line_title, const std::vector< std::string > &point_title, const std::vector< std::string > &colors)
 Plot line and dots. More...
 

Detailed Description

Plot is a wrapper of the GNU plot.

Definition at line 15 of file GNUPlotWrapper.h.

Constructor & Destructor Documentation

Plot::Plot ( const std::string &  driver,
const std::string &  x_label,
const std::string &  y_label 
)
inline

The constructor

Parameters
[in]driverthe driver used to produce the plot
[in]labelof the x-axis
[in]labelof the y-axis

Definition at line 42 of file GNUPlotWrapper.h.

Member Function Documentation

void Plot::PlotLinePoint ( const std::vector< double > &  gp_x,
const std::vector< double > &  gp_y,
const std::vector< double > &  gp_point_x,
const std::vector< double > &  gp_point_y,
const std::string &  line_title,
const std::string &  point_title 
)

Plot line and dots.

Parameters
gp_xx coordinates of the line plot
gp_yy coordinates of the line plot
gp_point_xx coordinates of the dot plot
gp_point_yy coordinates of the dot plot
line_titlelegend of the line plot
point_titlelegend of the point plot

Definition at line 11 of file GNUPlotWrapper.cc.

void Plot::PlotLinePoint ( const std::vector< std::vector< double > > &  gp_x,
const std::vector< std::vector< double > > &  gp_y,
const std::vector< std::vector< double > > &  gp_point_x,
const std::vector< std::vector< double > > &  gp_point_y,
const std::vector< std::string > &  line_title,
const std::vector< std::string > &  point_title,
const std::vector< std::string > &  colors 
)

Plot line and dots.

Parameters
gp_xx coordinates of the line plot
gp_yy coordinates of the line plot
gp_point_xx coordinates of the dot plot
gp_point_yy coordinates of the dot plot
line_titlelegend of the line plot
point_titlelegend of the point plot
colorscolors of lines and points

Definition at line 24 of file GNUPlotWrapper.cc.

void Plot::PlotScatterLine ( const std::vector< double > &  gp_x,
const std::vector< double > &  gp_y,
const std::string &  line_title 
)

Plot lines.

Parameters
gp_xx coordinates of the line plot
gp_yy coordinates of the line plot
line_titlelegend of the line plot

Definition at line 49 of file GNUPlotWrapper.cc.


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