| 2 | #include <matplot/matplot.h> |
| 3 | |
| 4 | int main() { |
| 5 | using namespace matplot; |
| 6 | |
| 7 | fplot("cos(x)", "o-r")->line_width(2); |
| 8 | hold(on); |
| 9 | fplot([](double x) { return sin(x); }, std::array<double, 2>{-10, 10}, |
| 10 | "x--b") |
| 11 | ->line_width(2); |
| 12 | |
| 13 | show(); |
| 14 | return 0; |
| 15 | } |
nothing calls this directly
no test coverage detected