NS-3
ns3::Gnuplot2dFunction Class Reference

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

#include <gnuplot.h>

Inheritance diagram for ns3::Gnuplot2dFunction:
Collaboration diagram for ns3::Gnuplot2dFunction:

List of all members.

Public Member Functions

 Gnuplot2dFunction (const std::string &title="Untitled", const std::string &function="")
void SetFunction (const std::string &function)

Detailed Description

Class to represent a 2D function expression plot.

Since the function expression is not escaped, styles and extras could just as well be included in the expression string.


Constructor & Destructor Documentation

ns3::Gnuplot2dFunction::Gnuplot2dFunction ( 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::Gnuplot2dFunction::SetFunction ( const std::string &  function)
Parameters:
functionnew function string to set

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