ns3::Gnuplot2dFunction Class Reference

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

#include <gnuplot.h>

Inheritance diagram for ns3::Gnuplot2dFunction:
Inheritance graph
[legend]
Collaboration diagram for ns3::Gnuplot2dFunction:
Collaboration graph
[legend]

List of all members.

Classes

struct  Function2d

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.

Definition at line 225 of file gnuplot.h.


Constructor & Destructor Documentation

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

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

Definition at line 387 of file gnuplot.cc.


Member Function Documentation

void ns3::Gnuplot2dFunction::SetFunction ( const std::string &  function  ) 
Parameters:
function new function string to set

Definition at line 393 of file gnuplot.cc.


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:10:03 2009 for NS-3 by  doxygen 1.6.3