#include #include int main() { using namespace matplot; fplot("cos(x)", "o-r")->line_width(2); hold(on); fplot([](double x) { return sin(x); }, std::array{-10, 10}, "x--b") ->line_width(2); show(); return 0; }