ns-3
ns3::Gnuplot3dFunction Class Reference

Class to represent a 3D function expression plot. More...

#include <gnuplot.h>

Inheritance diagram for ns3::Gnuplot3dFunction:
Collaboration diagram for ns3::Gnuplot3dFunction:

List of all members.

Public Member Functions

 Gnuplot3dFunction (const std::string &title="Untitled", const std::string &function="")
void SetFunction (const std::string &function)
- Public Member Functions inherited from ns3::GnuplotDataset
 GnuplotDataset (const GnuplotDataset &original)
 ~GnuplotDataset ()
GnuplotDatasetoperator= (const GnuplotDataset &original)
void SetTitle (const std::string &title)
 Change line title.
void SetExtra (const std::string &extra)
 Add extra formatting parameters to this dataset.

Additional Inherited Members

- Static Public Member Functions inherited from ns3::GnuplotDataset
static void SetDefaultExtra (const std::string &extra)
 Change extra formatting style parameters for newly created objects.
- Protected Member Functions inherited from ns3::GnuplotDataset
 GnuplotDataset (struct Data *data)
- Protected Attributes inherited from ns3::GnuplotDataset
struct Data * m_data
- Static Protected Attributes inherited from ns3::GnuplotDataset
static std::string m_defaultExtra = ""
 Extra gnuplot parameters set on every newly created dataset.

Detailed Description

Class to represent a 3D function expression plot.

Since the function expression is not escaped, styles and extras could just as well be included in the expression string. The only difference to Gnuplot2dFunction is the splot command string.


Constructor & Destructor Documentation

ns3::Gnuplot3dFunction::Gnuplot3dFunction ( const std::string &  title = "Untitled",
const std::string &  function = "" 
)
Parameters:
titlethe title to be associated to this dataset.
functionfunction to plot

Create an function dataset. Usually, the dataset's title is displayed in the legend box.


Member Function Documentation

void ns3::Gnuplot3dFunction::SetFunction ( const std::string &  function)
Parameters:
functionnew function string to set

References ns3::GnuplotDataset::m_data.


The documentation for this class was generated from the following files: