Skip to content

num::plt::plot_paths

Defined in header <plot/plot.hpp>

template <class Paths, class Labels, class Colors>
void plot_paths(const Paths &paths, const Labels &labels, const Colors &colors,
                const std::string &plot_title, std::size_t samples = 1000);

Plot component-wise available-path means and their min-max envelope.

The sampling grid extends to the latest path endpoint. A path contributes only through its own endpoint, so the active sample count may decrease near the right edge instead of holding shorter paths at their final states.