Creates a graphic from a data file. More...
#include <gnugraph.h>

Public Member Functions | |
| short | graph (const std::string &title_graph, const std::string &label, const short x, const short y, const short x_start, const short y_start, const short y_end) |
| Creates a graphic. More... | |
| Plot_file (const std::string &filename) | |
| Constructor. More... | |
Public Member Functions inherited from IO_matrix_file | |
| IO_matrix_file (const std::string &filename) | |
| Constructor. More... | |
| short | read (std::vector< Matrix > &data) |
| short | read (std::vector< Matrix > &data, std::vector< std::string > &title) |
| short | read_all (std::vector< Matrix > &data, std::vector< std::string > &data_title) |
| Reads all sequences of data. More... | |
| short | write (const std::vector< Matrix > &data) |
| short | write (const std::vector< Matrix > &data, const std::vector< std::string > &title) |
Private Attributes | |
| std::vector< Matrix > | data_from_file |
| Data file. More... | |
| std::vector< std::string > | data_title |
| Data file title. More... | |
Additional Inherited Members | |
Private Member Functions inherited from Plot2d | |
| void | addcommand (const std::string &gcom) |
| Add GNUplot command. More... | |
| void | addcurve (const Matrix &data, const std::string &label="", LineType_en enLineType=DATAPOINTS) |
| Add a curve on the graphic. More... | |
| void | dump (void) |
| Method to dump the content of Plot2d to stdout. More... | |
| void | gnuplot (void) |
| Creates a GNUplot graphic. More... | |
| Plot2d (void) | |
| Constructor. More... | |
| void | settitle (const std::string &t) |
| Set the title. More... | |
| void | setxlabel (const std::string &t) |
| Set the x axis name. More... | |
| void | setylabel (const std::string &t) |
| Set the y axis name. More... | |
Creates a graphic from a data file.
Definition at line 223 of file gnugraph.h.
| Plot_file::Plot_file | ( | const std::string & | filename | ) |
| short Plot_file::graph | ( | const std::string & | title_graph, |
| const std::string & | label, | ||
| const short | x, | ||
| const short | y, | ||
| const short | x_start, | ||
| const short | y_start, | ||
| const short | y_end | ||
| ) |
Creates a graphic.
Definition at line 753 of file gnugraph.cpp.
|
private |
Data file.
Definition at line 231 of file gnugraph.h.
|
private |
Data file title.
Definition at line 232 of file gnugraph.h.