Class to represent a 3D function expression plot. More...
#include <gnuplot.h>
Classes | |
struct | Function3d |
Public Member Functions | |
Gnuplot3dFunction (const std::string &title="Untitled", const std::string &function="") | |
void | SetFunction (const std::string &function) |
![]() | |
GnuplotDataset (const GnuplotDataset &original) | |
~GnuplotDataset () | |
GnuplotDataset & | operator= (const GnuplotDataset &original) |
void | SetExtra (const std::string &extra) |
Add extra formatting parameters to this dataset. | |
void | SetTitle (const std::string &title) |
Change line title. |
Additional Inherited Members | |
![]() | |
static void | SetDefaultExtra (const std::string &extra) |
Change extra formatting style parameters for newly created objects. | |
![]() | |
GnuplotDataset (struct Data *data) | |
![]() | |
struct Data * | m_data |
![]() | |
static std::string | m_defaultExtra = "" |
Extra gnuplot parameters set on every newly created dataset. |
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.
ns3::Gnuplot3dFunction::Gnuplot3dFunction | ( | const std::string & | title = "Untitled" , |
const std::string & | function = "" |
||
) |
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 552 of file gnuplot.cc.
void ns3::Gnuplot3dFunction::SetFunction | ( | const std::string & | function | ) |
function | new function string to set |
Definition at line 558 of file gnuplot.cc.
References ns3::GnuplotDataset::m_data.