|
FuncSketch
|
Implementation of AxisTicks class. More...
#include "func_sketch/plotter/axis_ticks.h"#include <algorithm>#include <cassert>#include <cmath>#include <cstdint>#include <ranges>#include <fmt/format.h>Go to the source code of this file.
Functions | |
| void | func_sketch::plotter::generate_axis_ticks (const std::pair< Real, Real > &range, std::size_t approx_num_ticks, AxisTicks &ticks) |
| Generate ticks of axes. | |
Implementation of AxisTicks class.
Definition in file axis_ticks.cpp.
| void func_sketch::plotter::generate_axis_ticks | ( | const std::pair< Real, Real > & | range, |
| std::size_t | approx_num_ticks, | ||
| AxisTicks & | ticks ) |
Generate ticks of axes.
| [in] | range | Range of the axis. Pair of minimum and maximum values. |
| [in] | approx_num_ticks | Desired number of ticks. Approximately this number of ticks will be generated. |
| [out] | ticks | Ticks of the axis. |
Definition at line 32 of file axis_ticks.cpp.