23#include <scatter/plots/PlotBase.hpp>
53 FunctionPlot(
const std::string &label,
const std::vector<double> &x,
const std::function<
double(
const double &)> &function,
87 std::vector<double> x_;
90 std::function<double(
const double &x)> function_;
93 std::unique_ptr<Options> options_;
103 Point evaluate(
const double &x);
107 using Ptr = std::unique_ptr<FunctionPlot>;
[brief description]
Definition FunctionPlotOptions.hpp:34
[brief description]
Definition FunctionPlot.hpp:40
FunctionPlot(const std::string &label, const std::vector< double > &x, const std::function< double(const double &)> &function, const Options &options)
[brief description]
Options * options()
[brief description]
void render(Renderer &renderer, const Transform &transform)
[brief description]
virtual ~FunctionPlot()
[brief description]
Legend::Entry getLegendEntry()
create LegendEntry
std::unique_ptr< FunctionPlot > Ptr
typedef
Definition FunctionPlot.hpp:107
[brief description]
Definition PlotBase.hpp:36
[brief description]
Definition Point.hpp:29
[brief description]
Definition Renderer.hpp:38
[brief description]
Definition Legend.hpp:59