|
linbox
|
Represents a table of values to plot. More...
#include <benchmark.h>
Data Structures | |
| struct | Plot |
| What style of graphic : histogram ? graph ? More... | |
| struct | Term |
| What format the plot should be in? More... | |
Public Member Functions | |
| PlotStyle () | |
| Constructor. More... | |
| void | setTitle (std::string titre, std::string titre_y, std::string titre_x) |
| sets the titles in the graph. More... | |
| std::string | getTitle () |
| Gets the title of the graph. More... | |
| std::string | getTitleX () |
| Gets the title of points abscissa. More... | |
| std::string | getTitleY () |
| Gets the title of the series. More... | |
| std::string | getRawTitle (int index=0) |
| get the title string. More... | |
| void | setTerm (enum Term::Type term) |
| Sets the output format. More... | |
| std::string | getTerm () |
| Gets the output format. More... | |
| std::string | getExt () |
| Gets the graph output extension. More... | |
| void | setKeyPos (std::string keypos) |
| sets the legend position. More... | |
| std::string | getKeyPos () |
| Gets the legend position. More... | |
| void | setXtics (enum Options::Type opt, std::string more="") |
| sets the position of the labels on the X absciss. More... | |
| std::string | getXtics () |
| Gets the legend position. More... | |
| std::string | getOutput (std::string basnam) |
| Gets the name of the output graph. More... | |
| void | setPlotType (enum Plot::Type type) |
| Sets the type of plot. More... | |
| void | setLineType (enum Line::Type type) |
| Sets the way dots are linked. More... | |
| std::string | getPlotType () |
| Gets the type of plot. More... | |
| void | addPlotType (std::string style) |
| adds some style line to the graph. More... | |
| void | setUsingSeries (index_t col, std::string moreargs="") |
| tells which columns to use. More... | |
| void | addUsingSeries (index_t col, std::string moreargs="") |
| adds a column to use More... | |
| void | setUsingSeries (std::list< index_t > cols, std::string moreargs="") |
| tells which columns to use. More... | |
| void | addUsingSeries (std::list< index_t > cols, std::string moreargs="") |
| adds a set of columns to use. More... | |
| void | setUsingSeries (std::pair< index_t, index_t > cols, std::string moreargs="") |
| tells which columns to use. More... | |
| void | addUsingSeries (std::pair< index_t, index_t > cols, std::string moreargs="") |
| adds contiguous columns to use. More... | |
| std::string | getPlotCommand (std::string File) |
| Gets the plot command line. More... | |
Represents a table of values to plot.
list of values are reprensented by vectors. the table is a vector of these vectors.
|
inline |
Constructor.
By default, creates an histogram representing the data in an eps plot.
|
inline |
sets the titles in the graph.
| titre | Title of the graph |
| titre_y | Title of the y-axis (series) |
| titre_x | Title of the x-axis (data points) |
|
inline |
Gets the title of the graph.
|
inline |
Gets the title of points abscissa.
|
inline |
Gets the title of the series.
|
inline |
get the title string.
| index | can be (0,1,2) |
|
inline |
Sets the output format.
| term | type |
|
inline |
Gets the output format.
|
inline |
Gets the graph output extension.
By default, this is ".eps".
|
inline |
sets the legend position.
| keypos | the arguments to key (where the legend should be put) can be : inside, outside,... |
|
inline |
Gets the legend position.
by default, it is "under".
|
inline |
sets the position of the labels on the X absciss.
| opt | |
| more | more stuff |
|
inline |
Gets the legend position.
by default, it is 45° inclined (use in on long tics legends).
|
inline |
Gets the name of the output graph.
| basnam | the raw name for the output. |
|
inline |
Sets the type of plot.
| type | the type. |
|
inline |
Sets the way dots are linked.
| type | type |
|
inline |
Gets the type of plot.
default is histogram, or if graph is supplied, then the default is linespoints. Can be totally customized.
|
inline |
adds some style line to the graph.
This is very user-tweakable !!
| style | a style line for gnuplot as a gnuplot command. |
|
inline |
tells which columns to use.
| col | a column to use. |
| moreargs | more stuff |
|
inline |
adds a column to use
| col | a column to use. |
| moreargs | more stuff |
usingcols is not empty, ie setUsingSeries has already been called.
|
inline |
tells which columns to use.
| cols | a list of column to use. |
| moreargs | more stuff |
|
inline |
adds a set of columns to use.
| cols | a list of column to use. |
| moreargs | more stuff |
usingcols is not empty, ie setUsingSeries has already been called.
|
inline |
tells which columns to use.
| cols | all colums between cols.first and cols.second will be used. |
| moreargs | more stuff |
|
inline |
adds contiguous columns to use.
| cols | all colums between cols.first and cols.second will be used. |
| moreargs | more stuff |
usingcols is not empty, ie setUsingSeries has already been called.
|
inline |
Gets the plot command line.
| File | the name of/path to the data file (with extension) |
1.8.6