61 void SetTitle (
const std::string& title);
73 void SetExtra (
const std::string& extra);
175 void Add (
double x,
double y);
184 void Add (
double x,
double y,
double errorDelta);
194 void Add (
double x,
double y,
double xErrorDelta,
double yErrorDelta);
212 typedef std::vector<struct Point> PointSet;
214 static enum Style m_defaultStyle;
215 static enum ErrorBars m_defaultErrorBars;
237 Gnuplot2dFunction (
const std::string& title =
"Untitled",
const std::string&
function =
"");
274 void SetStyle (
const std::string& style);
283 void Add (
double x,
double y,
double z);
298 typedef std::vector<struct Point> PointSet;
300 static std::string m_defaultStyle;
323 Gnuplot3dFunction (
const std::string& title =
"Untitled",
const std::string&
function =
"");
352 Gnuplot (
const std::string& outputFilename=
"",
const std::string& title =
"");
370 void SetTitle (
const std::string& title);
376 void SetLegend (
const std::string& xLegend,
const std::string& yLegend);
381 void SetExtra (
const std::string& extra);
400 typedef std::vector<GnuplotDataset> Datasets;
402 std::string m_outputFilename;
403 std::string m_terminal;
408 std::string m_xLegend;
409 std::string m_yLegend;
452 typedef std::vector<Gnuplot> Plots;
454 std::string m_outputFilename;
455 std::string m_terminal;
void AppendExtra(const std::string &extra)
Class to represent a 3D points plot. Set the line or points style using SetStyle() and set points usi...
Class to represent a 2D points plot. Set the line or points style using SetStyle() and set points usi...
void SetTitle(const std::string &title)
Change line title.
Abstract class to store a plot line to be used by ns3::Gnuplot.
Gnuplot(const std::string &outputFilename="", const std::string &title="")
Gnuplot2dDataset(const std::string &title="Untitled")
void GenerateOutput(std::ostream &os) const
static void SetDefaultExtra(const std::string &extra)
Change extra formatting style parameters for newly created objects.
void Add(double x, double y, double z)
GnuplotDataset & operator=(const GnuplotDataset &original)
static std::string m_defaultExtra
Extra gnuplot parameters set on every newly created dataset.
void SetFunction(const std::string &function)
void AddDataset(const GnuplotDataset &dataset)
Class to represent a 3D function expression plot.
void SetExtra(const std::string &extra)
Add extra formatting parameters to this dataset.
void SetErrorBars(enum ErrorBars errorBars)
a simple class to generate gnuplot-ready plotting commands from a set of datasets.
make Callback use a separate empty type
a simple class to group together multiple gnuplots into one file, e.g. for PDF multi-page output term...
void SetTitle(const std::string &title)
Gnuplot3dDataset(const std::string &title="Untitled")
void Add(double x, double y)
Gnuplot2dFunction(const std::string &title="Untitled", const std::string &function="")
Gnuplot3dFunction(const std::string &title="Untitled", const std::string &function="")
void AddPlot(const Gnuplot &plot)
void SetLegend(const std::string &xLegend, const std::string &yLegend)
static void SetDefaultErrorBars(enum ErrorBars errorBars)
GnuplotCollection(const std::string &outputFilename)
static void SetDefaultStyle(enum Style style)
void SetStyle(enum Style style)
void SetExtra(const std::string &extra)
void SetStyle(const std::string &style)
void SetTerminal(const std::string &terminal)
void SetFunction(const std::string &function)
GnuplotDataset(const GnuplotDataset &original)
Class to represent a 2D function expression plot.
static void SetDefaultStyle(const std::string &style)
static std::string DetectTerminal(const std::string &filename)
void SetTerminal(const std::string &terminal)
void GenerateOutput(std::ostream &os) const
Gnuplot & GetPlot(unsigned int id)