store a dataset to be used by ns3::Gnuplot
More...
#include <gnuplot.h>
List of all members.
Detailed Description
store a dataset to be used by ns3::Gnuplot
Member Enumeration Documentation
Whether errorbars should be used for this dataset.
The plotting style to use for this dataset.
Constructor & Destructor Documentation
ns3::GnuplotDataset::GnuplotDataset |
( |
|
) |
|
Create an empty dataset without any title.
ns3::GnuplotDataset::GnuplotDataset |
( |
std::string |
title |
) |
|
- Parameters:
-
| title | the title to be associated to this dataset. |
Create an empty dataset. Usually, the dataset's title is displayed in the legend box.
Member Function Documentation
void ns3::GnuplotDataset::Add |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | |
- Parameters:
-
| x | x coord to new data point |
| y | y coord to new data point |
Use this method with error bar style NONE.
void ns3::GnuplotDataset::Add |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
errorDelta | |
|
) |
| | |
- Parameters:
-
| x | x coord to new data point |
| y | y coord to new data point |
| errorDelta | Use this method with error bar style X or Y. |
void ns3::GnuplotDataset::SetErrorBars |
( |
enum ErrorBars |
errorBars |
) |
|
- Parameters:
-
| errorBars | the style of errorbars to display. |
If you use any style other than none, you need to make sure you store the delta information in this dataset with the right GnuplotDataset::Add method.
void ns3::GnuplotDataset::SetStyle |
( |
enum Style |
style |
) |
|
- Parameters:
-
| style | the style of plotting to use for this dataset. |
The documentation for this class was generated from the following file: