linbox
|
The graph. More...
#include <benchmark.h>
Public Member Functions | |
PlotGraph (PlotData< NAM > &data, PlotStyle &style) | |
Constructor for the PlotGraph class. | |
void | setOutFilename (std::string filename) |
sets the ouput file name. | |
void | print_latex () |
Prints data in a latex tabular. | |
void | print_gnuplot () |
Plots the data with gnuplot. | |
The graph.
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. |
|
inline |
sets the ouput file name.
All output is put in a "data" subfolder.
|
inline |
Prints data in a latex tabular.
|
inline |
Plots the data with gnuplot.
Produces data in a .dat file, creates a .gp gnuplot script and outputs a graph calling gnuplot.