#include <lineplot.h>
|
| double | getAutoFit () const |
| |
| double | getLineThickness () const |
| |
| | LinePlot (const PlotCommonParameters ¶meters={ PlotType::LINE_PLOT, {0.0, 100.0, -20.0, 20.0, 1.0, 1.0}, PlotAnnotations{"Line plot", "Spatial dimension", "Amplitude"} }, const LinePlotParameters &linePlotParameters=LinePlotParameters()) |
| |
| 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 | setAutoFit (bool autoFit) |
| |
| void | setLineThickness (double lineThickness) |
| |
| 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 |
| |
◆ LinePlot()
| dnf_composer::LinePlot::LinePlot |
( |
const PlotCommonParameters & |
parameters = { PlotType::LINE_PLOT, {0.0, 100.0, -20.0, 20.0, 1.0, 1.0}, PlotAnnotations{"Line plot", "Spatial dimension", "Amplitude"} }, |
|
|
const LinePlotParameters & |
linePlotParameters = LinePlotParameters() |
|
) |
| |
|
explicit |
◆ getAutoFit()
| double dnf_composer::LinePlot::getAutoFit |
( |
| ) |
const |
◆ getLineThickness()
| double dnf_composer::LinePlot::getLineThickness |
( |
| ) |
const |
◆ render()
| void dnf_composer::LinePlot::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.
◆ setAutoFit()
| void dnf_composer::LinePlot::setAutoFit |
( |
bool |
autoFit | ) |
|
◆ setLineThickness()
| void dnf_composer::LinePlot::setLineThickness |
( |
double |
lineThickness | ) |
|
◆ toString()
| std::string dnf_composer::LinePlot::toString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: