Public Member Functions | Private Attributes
Plot_file Class Reference

Creates a graphic from a data file. More...

#include <gnugraph.h>

Inheritance diagram for Plot_file:
Inheritance graph
[legend]

List of all members.

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.
 Plot_file (const std::string &filename)
 Constructor.

Private Attributes

std::vector< Matrix > data_from_file
 Data file.
std::vector< std::string > data_title
 Data file title.

Detailed Description

Creates a graphic from a data file.

Definition at line 223 of file gnugraph.h.


Constructor & Destructor Documentation

Plot_file::Plot_file ( const std::string &  filename)

Constructor.

Reads all the data of the file filename.

Definition at line 731 of file gnugraph.cpp.


Member Function Documentation

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 743 of file gnugraph.cpp.


Member Data Documentation

std::vector<Matrix> Plot_file::data_from_file [private]

Data file.

Definition at line 231 of file gnugraph.h.

std::vector<std::string> Plot_file::data_title [private]

Data file title.

Definition at line 232 of file gnugraph.h.


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


kni
Author(s): Martin Günther
autogenerated on Thu Aug 27 2015 13:40:08