#include <heatmap.h>
|
| std::pair< double, double > | getScale () const |
| |
| | Heatmap (const PlotCommonParameters ¶meters={ PlotType::HEATMAP, {0.0, 100.0, 0.0, 100.0, 1.0, 1.0}, PlotAnnotations{"Heatmap plot", "Spatial dimension output", "Spatial dimension input"}}, const HeatmapParameters &heatmapParameters=HeatmapParameters()) |
| |
| void | render (const std::vector< std::vector< double > * > &data, const std::vector< std::string > &legends) override |
| | Render the plot using the provided data and legends.
|
| |
| void | setDimensionHint (int rows, int cols) |
| |
| void | setScale (double min, double max) |
| |
| std::string | toString () const override |
| |
| PlotAnnotations | getAnnotations () const |
| |
| PlotDimensions | getDimensions () const |
| |
| PlotType | getType () const |
| |
| int | getUniqueIdentifier () const |
| |
| | Plot (PlotCommonParameters parameters=PlotCommonParameters()) |
| | Construct a plot with the given common parameters.
|
| |
| void | setAnnotations (const PlotAnnotations &annotations) |
| |
| void | setDimensions (const PlotDimensions &dimensions) |
| |
| virtual | ~Plot ()=default |
| |
◆ Heatmap()
| dnf_composer::Heatmap::Heatmap |
( |
const PlotCommonParameters & |
parameters = { PlotType::HEATMAP, {0.0, 100.0, 0.0, 100.0, 1.0, 1.0}, PlotAnnotations{"Heatmap plot", "Spatial dimension output", "Spatial dimension input"}}, |
|
|
const HeatmapParameters & |
heatmapParameters = HeatmapParameters() |
|
) |
| |
|
explicit |
◆ getScale()
| std::pair< double, double > dnf_composer::Heatmap::getScale |
( |
| ) |
const |
◆ render()
| void dnf_composer::Heatmap::render |
( |
const std::vector< std::vector< double > * > & |
data, |
|
|
const std::vector< std::string > & |
legends |
|
) |
| |
|
overridevirtual |
Render the plot using the provided data and legends.
- Parameters
-
| data | Pointers to the component vectors to display. |
| legends | Legend label for each data series. |
Implements dnf_composer::Plot.
◆ setDimensionHint()
| void dnf_composer::Heatmap::setDimensionHint |
( |
int |
rows, |
|
|
int |
cols |
|
) |
| |
◆ setScale()
| void dnf_composer::Heatmap::setScale |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
◆ toString()
| std::string dnf_composer::Heatmap::toString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: