num::plt::plot¶
Defined in header <plot/plot.hpp>
void plot(const series &data, const std::string &label = "",
const std::string &style = "lines"); // (1)
template <typename ContainerX, typename ContainerY>
void plot(const ContainerX &x, const ContainerY &y, const std::string &label = "",
const std::string &style = "lines"); // (2)
(1) Append a series (vector of (x,y) pairs) to the current panel.
(2) Append parallel x and y vectors to the current panel (supports std::vector, num::vec