Public Member Functions | |
Function3d (const std::string &title, const std::string &function) | |
virtual std::string | GetCommand () const |
virtual void | PrintExpression (std::ostream &os) const |
virtual void | PrintDatafile (std::ostream &os) const |
Public Attributes | |
std::string | m_function |
Definition at line 502 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 518 of file gnuplot.cc.
std::string ns3::Gnuplot3dFunction::Function3d::GetCommand | ( | ) | const [virtual] |
Returns "plot" or "splot".
Implements ns3::GnuplotDataset::Data.
Definition at line 525 of file gnuplot.cc.
void ns3::Gnuplot3dFunction::Function3d::PrintDatafile | ( | std::ostream & | os | ) | const [virtual] |
Print the inline data file contents trailing the plot command. Empty for functions.
Implements ns3::GnuplotDataset::Data.
Definition at line 543 of file gnuplot.cc.
void ns3::Gnuplot3dFunction::Function3d::PrintExpression | ( | std::ostream & | os | ) | const [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.
Implements ns3::GnuplotDataset::Data.
Definition at line 531 of file gnuplot.cc.
std::string ns3::Gnuplot3dFunction::Function3d::m_function |
Definition at line 506 of file gnuplot.cc.