|
linbox
|
The graph (2D). More...
#include <benchmark.h>
Public Member Functions | |
| void | setData (PlotData &data) |
| Sets a new data structure. More... | |
| PlotData & | refData (PlotData &data) |
| Gets the data. More... | |
| void | setStyle (PlotStyle &style) |
| Sets a new style structure. More... | |
| PlotStyle & | refStyle (PlotStyle &style) |
| Gets the style. More... | |
| PlotGraph (PlotData &data, PlotStyle &style) | |
| Constructor for the PlotGraph class. More... | |
| void | setOutFilename (const std::string &filename) |
| sets the ouput file name. More... | |
| std::string | getPlotCommand (const std::string &File) |
| Gets the plot command line. More... | |
The graph (2D).
This class joins a PlotStyle and a PlotData to build up a graph. A filename should be provided as well, indicating where the output graph and scripts will be generated.
Constructor for the PlotGraph class.
Plots a series of data according to a style.
| data | data to be plot, will be processed by the style |
| style | sets parameters to gnuplot to achieve a nice plot. |
| void setData | ( | PlotData & | data | ) |
Sets a new data structure.
| data | a reference to a PlotData class. |
Gets the data.
| [in,out] | data | a reference to a PlotData class. |
| void setStyle | ( | PlotStyle & | style | ) |
Sets a new style structure.
| style | a reference to a PlotStyle class. |
Gets the style.
| [in,out] | style | a reference to a PlotStyle class. |
| void setOutFilename | ( | const std::string & | filename | ) |
sets the ouput file name.
All output is put in a "data" subfolder.
| std::string getPlotCommand | ( | const std::string & | File | ) |
Gets the plot command line.
| File | the name of/path to the data file (with extension) |
1.8.13