#include <Plot.h>
|
| ImagePlot (const char *name) |
|
void | AddData (const Matrix< double > &mat, const std::string &name) |
|
void | operator() (const char *colorPalette="magma.pal") |
|
| 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 |
|
Plot to display a 2 dimensional image based on matrix-like data
- Examples
- numerics/TestFractals.cpp, and plot/TestPlot.cpp.
◆ ImagePlot()
ImagePlot::ImagePlot |
( |
const char * |
name | ) |
|
|
inlineexplicit |
Default constructor
- Parameters
-
◆ AddData()
void ImagePlot::AddData |
( |
const Matrix< double > & |
mat, |
|
|
const std::string & |
name |
|
) |
| |
|
inline |
◆ operator()()
void ImagePlot::operator() |
( |
const char * |
colorPalette = "magma.pal" | ) |
|
|
inline |
overridden call operator.
interprets a file as surface plot and forwards whole content to gnuplot using "plot matrix with image"
The documentation for this class was generated from the following file:
- include/math/visualization/Plot.h