28namespace func_sketch::plotter {
84 const std::vector<Point>& samples,
const RGBColor& color,
Image& image);
Definition of AxisTicks class.
Class of configurations of a plot.
Class of a range of a plot.
Plotter & config(const PlotConfig &value)
Set the configuration of plots.
void write_curve(const std::vector< Point > &samples, const RGBColor &color, Image &image)
Write a curve on plots.
AxisTicks x_axis_ticks_
Ticks of the x-axis.
void write_y_axis(Image &image)
Write y axis.
void write_x_axis(Image &image)
Write x axis.
PlotConfig config_
Configuration of plots.
PlotRange range_
Range of plots.
Plotter & range(const PlotRange &value)
Set the range of plots.
int left_margin_
Left margin of plots in pixels. (This value is used over the value in config because tuning of the le...
void write_grid_lines(Image &image)
Write grid lines of plots.
Plotter(const PlotRange &range, const PlotConfig &config)
Constructor.
AxisTicks y_axis_ticks_
Ticks of the y-axis.
void write_background(Image &image)
Write background of plots.
Definition of Image type.
Definition of PlotConfig class.
Definition of PlotRange class.
Definition of Point struct.
Struct to represent ticks of axes.