Public Member Functions | |
Function3d (const std::string &title, const std::string &function) | |
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 | |
std::string | m_function |
![]() | |
std::string | m_extra |
unsigned int | m_references |
std::string | m_title |
Definition at line 577 of file gnuplot.cc.
ns3::Gnuplot3dFunction::Function3d::Function3d | ( | const std::string & | title, |
const std::string & | function | ||
) |
Initializes with the function and title.
Definition at line 597 of file gnuplot.cc.
|
virtual |
Returns "plot" or "splot".
Implements ns3::GnuplotDataset::Data.
Definition at line 604 of file gnuplot.cc.
|
virtual |
Checks to see if this GnuplotDataset is empty.
Implements ns3::GnuplotDataset::Data.
Definition at line 630 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 625 of file gnuplot.cc.
|
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 610 of file gnuplot.cc.
std::string ns3::Gnuplot3dFunction::Function3d::m_function |
Definition at line 581 of file gnuplot.cc.