philsupertramp/game-math
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SurfacePlot Class Reference

#include <Plot.h>

Inheritance diagram for SurfacePlot:
Plot

Public Member Functions

 SurfacePlot (const std::string &title="")
 
void operator() () const override
 
- Public Member Functions inherited from Plot
 Plot (const std::string &title="")
 
void clear_file ()
 
void title (const std::string &title)
 
void xAxis (const std::string &name)
 
void yAxis (const std::string &name)
 
void pointSize (const int &size)
 
void lineWidth (const int &size)
 
void AddData (const Matrix< double > &x, const Matrix< double > &y, const std::string &name, DataTypes dataType=DataTypes::NONE, const char *character=nullptr)
 
void AddData (const Matrix< double > &mat, const std::string &name, DataTypes dataTypeName=DataTypes::NONE, const char *pointChar=nullptr, int dimensions=2)
 
virtual void operator() () const
 

Additional Inherited Members

- Protected Member Functions inherited from Plot
void writeAttributes (FILE *gnuplot) const
 
- Protected Attributes inherited from Plot
const char * dataFileName
 data storage file name More...
 
const char * plotTypeName
 representation of plot type More...
 
const char * plotType = "plot"
 representation of plot type More...
 
FILE * storageFile = nullptr
 data storage file More...
 
PlotAttributes attributes = {}
 attributes for plot More...
 
int numElements = 0
 number elements within the plot More...
 
PlotBoundary bY {}
 x-axis boundaries for the resulting plot More...
 
PlotBoundary bX {}
 y-axis boundaries for the resulting plot More...
 

Detailed Description

Plot for only point data

Examples
plot/TestPlot.cpp.

Constructor & Destructor Documentation

◆ SurfacePlot()

SurfacePlot::SurfacePlot ( const std::string &  title = "")
inline

Default constructor

Parameters
titleplot title

Member Function Documentation

◆ operator()()

void SurfacePlot::operator() ( ) const
inlineoverridevirtual

overridden call operator.

interprets a file as surface plot and forwards whole content to gnuplot using splot

Reimplemented from Plot.


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