Multivariate Point Process Package
0.1
|
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... | |
Plot is a wrapper of the GNU plot.
Definition at line 15 of file GNUPlotWrapper.h.
|
inline |
The constructor
[in] | driver | the driver used to produce the plot |
[in] | label | of the x-axis |
[in] | label | of the y-axis |
Definition at line 42 of file GNUPlotWrapper.h.
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.
gp_x | x coordinates of the line plot |
gp_y | y coordinates of the line plot |
gp_point_x | x coordinates of the dot plot |
gp_point_y | y coordinates of the dot plot |
line_title | legend of the line plot |
point_title | legend 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.
gp_x | x coordinates of the line plot |
gp_y | y coordinates of the line plot |
gp_point_x | x coordinates of the dot plot |
gp_point_y | y coordinates of the dot plot |
line_title | legend of the line plot |
point_title | legend of the point plot |
colors | colors 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.
gp_x | x coordinates of the line plot |
gp_y | y coordinates of the line plot |
line_title | legend of the line plot |
Definition at line 49 of file GNUPlotWrapper.cc.