2D function, f(x,y).
More...
#include <plot.h>
|
| Plot2DFunc () |
|
virtual bool | isEmpty () const |
|
virtual PlotBase * | clone () const |
|
virtual void | drawPlot (mglGraph *graph) const |
|
void | getRawData (std::vector< std::vector< float > > &rawData, std::vector< std::string > &labels) const |
| Retrieve the raw data associated with the currently visible plots. More...
|
|
void | setData (const Array2D< float > &a, float xLow, float xHigh, float yLow, float yHigh) |
|
| PlotBase () |
|
virtual | ~PlotBase () |
|
unsigned int | getType () const |
|
unsigned int | getMode () const |
|
virtual void | getBounds (float &xMin, float &xMax, float &yMin, float &yMax) const |
| Return the true data bounds for this plot. More...
|
|
void | setStrings (const std::string &x, const std::string &y, const std::string &t) |
|
void | setColour (float rNew, float gNew, float bNew) |
|
void | setTraceStyle (unsigned int newStyle) |
|
std::string | getXLabel () const |
|
std::string | getTitle () const |
|
std::string | getYLabel () const |
|
unsigned int | getPlotMode () const |
|
void | setPlotMode (unsigned int newMode) |
|
void | getColour (float &r, float &g, float &b) const |
|
|
float | minX |
| Bounding box for plot. More...
|
|
float | maxX |
|
float | minY |
|
float | maxY |
|
bool | visible |
| Is trace visible? More...
|
|
bool | titleAsRawDataLabel |
| Use the plot title for Y data label when exporting raw data. More...
|
|
const void * | parentObject |
| Pointer to some constant object that generated this plot. More...
|
|
unsigned int | parentPlotIndex |
| integer to show which of the n plots that the parent generated More...
|
|
RegionGroup | regionGroup |
|
void | copyBase (PlotBase *target) const |
|
static void | computeDataBounds (const std::vector< float > &d, float &minV, float &maxV) |
|
static void | computeDataBounds (const std::vector< float > &d, const std::vector< float > &errorBar, float &minV, float &maxV) |
|
static void | computeDataBounds (const std::vector< std::pair< float, float > > &d, float &minVx, float &maxVx, float &minVy, float &maxVy) |
|
unsigned int | plotMode |
| Type of plot. More...
|
|
std::string | xLabel |
| xaxis label More...
|
|
std::string | yLabel |
| y axis label More...
|
|
std::string | title |
| Plot title. More...
|
|
float | r |
|
float | g |
|
float | b |
|
unsigned int | traceStyle |
|
◆ Plot2DFunc()
Plot2DFunc::Plot2DFunc |
( |
| ) |
|
◆ clone()
◆ drawPlot()
void Plot2DFunc::drawPlot |
( |
mglGraph * |
graph | ) |
const |
|
virtual |
◆ getRawData()
void Plot2DFunc::getRawData |
( |
std::vector< std::vector< float > > & |
rawData, |
|
|
std::vector< std::string > & |
labels |
|
) |
| const |
|
virtual |
Retrieve the raw data associated with the currently visible plots.
Implements PlotBase.
◆ isEmpty()
bool Plot2DFunc::isEmpty |
( |
| ) |
const |
|
virtual |
◆ setData()
void Plot2DFunc::setData |
( |
const Array2D< float > & |
a, |
|
|
float |
xLow, |
|
|
float |
xHigh, |
|
|
float |
yLow, |
|
|
float |
yHigh |
|
) |
| |
The documentation for this class was generated from the following files: