Public Member Functions | |
Data2d (const std::string &title) | |
virtual std::string | GetCommand () const |
virtual bool | IsEmpty () const |
virtual void | PrintDataFile (std::ostream &os, bool generateOneOutputFile) const |
virtual void | PrintExpression (std::ostream &os, bool generateOneOutputFile, unsigned int dataFileDatasetIndex, std::string &dataFileName) const |
![]() | |
Data (const std::string &title) | |
virtual | ~Data () |
Required. More... | |
Public Attributes | |
enum ErrorBars | m_errorBars |
PointSet | m_pointset |
enum Style | m_style |
![]() | |
std::string | m_extra |
unsigned int | m_references |
std::string | m_title |
Definition at line 143 of file gnuplot.cc.
ns3::Gnuplot2dDataset::Data2d::Data2d | ( | const std::string & | title | ) |
Initializes with the values from m_defaultStyle and m_defaultErrorBars.
Definition at line 166 of file gnuplot.cc.
|
virtual |
Returns "plot" or "splot".
Implements ns3::GnuplotDataset::Data.
Definition at line 174 of file gnuplot.cc.
|
virtual |
Checks to see if this GnuplotDataset is empty.
Implements ns3::GnuplotDataset::Data.
Definition at line 299 of file gnuplot.cc.
|
virtual |
Print the inline data file contents trailing the plot command. Empty for functions.
Implements ns3::GnuplotDataset::Data.
Definition at line 259 of file gnuplot.cc.
References ns3::Gnuplot2dDataset::NONE, ns3::Gnuplot2dDataset::X, ns3::Gnuplot2dDataset::XY, and ns3::Gnuplot2dDataset::Y.
|
virtual |
Prints the plot description used as argument to (s)plot. Either the function expression or a datafile description. Should include m_title and m_extra in the output.
If more than one output file is being generated, i.e. separate data and control files, then the index for the current dataset and the name for the data file are also included.
Implements ns3::GnuplotDataset::Data.
Definition at line 180 of file gnuplot.cc.
References ns3::Gnuplot2dDataset::DOTS, ns3::Gnuplot2dDataset::FSTEPS, ns3::Gnuplot2dDataset::HISTEPS, ns3::Gnuplot2dDataset::IMPULSES, ns3::Gnuplot2dDataset::LINES, ns3::Gnuplot2dDataset::LINES_POINTS, ns3::Gnuplot2dDataset::NONE, ns3::Gnuplot2dDataset::POINTS, ns3::Gnuplot2dDataset::STEPS, ns3::Gnuplot2dDataset::X, ns3::Gnuplot2dDataset::XY, and ns3::Gnuplot2dDataset::Y.
enum ErrorBars ns3::Gnuplot2dDataset::Data2d::m_errorBars |
Definition at line 148 of file gnuplot.cc.
PointSet ns3::Gnuplot2dDataset::Data2d::m_pointset |
Definition at line 150 of file gnuplot.cc.
enum Style ns3::Gnuplot2dDataset::Data2d::m_style |
Definition at line 147 of file gnuplot.cc.