A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::Gnuplot2dDataset::Data2d Struct Reference
+ Inheritance diagram for ns3::Gnuplot2dDataset::Data2d:

Public Member Functions

 Data2d (const std::string &title)
virtual std::string GetCommand () const
virtual void PrintDatafile (std::ostream &os) const
virtual void PrintExpression (std::ostream &os) const
- Public Member Functions inherited from ns3::GnuplotDataset::Data
 Data (const std::string &title)
virtual ~Data ()

Public Attributes

enum ErrorBars m_errorBars
PointSet m_pointset
enum Style m_style
- Public Attributes inherited from ns3::GnuplotDataset::Data
std::string m_extra
unsigned int m_references
std::string m_title

Detailed Description

Definition at line 130 of file gnuplot.cc.

Constructor & Destructor Documentation

ns3::Gnuplot2dDataset::Data2d::Data2d ( const std::string &  title)

Initializes with the values from m_defaultStyle and m_defaultErrorBars.

Definition at line 149 of file gnuplot.cc.

Member Function Documentation

std::string ns3::Gnuplot2dDataset::Data2d::GetCommand ( ) const

Returns "plot" or "splot".

Implements ns3::GnuplotDataset::Data.

Definition at line 157 of file gnuplot.cc.

void ns3::Gnuplot2dDataset::Data2d::PrintDatafile ( std::ostream &  os) const

Print the inline data file contents trailing the plot command. Empty for functions.

Implements ns3::GnuplotDataset::Data.

Definition at line 230 of file gnuplot.cc.

void ns3::Gnuplot2dDataset::Data2d::PrintExpression ( std::ostream &  os) const

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.

Implements ns3::GnuplotDataset::Data.

Definition at line 163 of file gnuplot.cc.

The documentation for this struct was generated from the following file: