2D scatter plot, {x,y}_i
More...
#include <plot.h>
|
| | Plot2DScatter () |
| |
| 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 std::vector< std::pair< float, float > > &pts) |
| |
| void | setData (const std::vector< std::pair< float, float > > &pts, const std::vector< float > &intens) |
| |
| | 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 |
| |
|
| 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 |
| |
◆ Plot2DScatter()
| Plot2DScatter::Plot2DScatter |
( |
| ) |
|
◆ clone()
| PlotBase * Plot2DScatter::clone |
( |
| ) |
const |
|
virtual |
◆ drawPlot()
| void Plot2DScatter::drawPlot |
( |
mglGraph * |
graph | ) |
const |
|
virtual |
◆ getRawData()
| void Plot2DScatter::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.
References TRANS.
◆ isEmpty()
| bool Plot2DScatter::isEmpty |
( |
| ) |
const |
|
virtual |
◆ setData() [1/2]
| void Plot2DScatter::setData |
( |
const std::vector< std::pair< float, float > > & |
pts | ) |
|
◆ setData() [2/2]
| void Plot2DScatter::setData |
( |
const std::vector< std::pair< float, float > > & |
pts, |
|
|
const std::vector< float > & |
intens |
|
) |
| |
◆ scatterIntensityLog
| bool Plot2DScatter::scatterIntensityLog |
The documentation for this class was generated from the following files: