Pixel-based heat-map.
You create this separately, and then attach to a Figure
or Plot
later, or save directly to PNG.
|
| HeatMap (int width, int height) |
|
| HeatMap (int width, int height, int outputWidth, int outputHeight) |
|
void | write (std::string pngFile, bool flippedY=false) |
|
std::string | dataUrl (bool flippedY=false) |
|
double & | operator() (int x, int y) |
|
const double & | operator() (int x, int y) const |
|
void | flipY () |
|
Plot2D & | addTo (Plot2D &plot, Bounds dataBounds) |
|
Plot2D & | addTo (Plot2D &plot, Bounds dataBounds, Plot2D &scalePlot) |
|
Plot2D & | addTo (Plot2D &plot, bool flippedY=true) |
|
Plot2D & | addTo (Plot2D &plot, Plot2D &scalePlot, bool flippedY=true) |
|
Plot2D & | addScaleTo (Plot2D &scalePlot) |
|
Plot2D & | addTo (Grid &grid, double width, double height, double scaleWidth=15) |
| Adds data and scale plots to a grid (e.g. a figure), returning the data plot. More...
|
|
template<class Drawable , class... Args> |
auto | copyTo (Drawable &drawable, Args &&...args) -> decltype(this->addTo(drawable, std::forward< Args >(args)...)) |
| Makes a retained copy of the map, then calls .addTo(...) More...
|
|
std::vector< double >::iterator | begin () |
|
std::vector< double >::iterator | end () |
|
std::vector< double >::const_iterator | begin () const |
|
std::vector< double >::const_iterator | end () const |
|