| 2 | #include <matplot/matplot.h> |
| 3 | |
| 4 | int main() { |
| 5 | using namespace matplot; |
| 6 | |
| 7 | auto f = fplot([](double x) { return sin(x + pi / 5); }); |
| 8 | f->line_width(2); |
| 9 | hold(on); |
| 10 | fplot([](double x) { return sin(x - pi / 5); }, "--or"); |
| 11 | fplot([](double x) { return sin(x); }, "-.*c"); |
| 12 | hold(off); |
| 13 | |
| 14 | show(); |
| 15 | return 0; |
| 16 | } |
nothing calls this directly
no test coverage detected