| 2 | #include <matplot/matplot.h> |
| 3 | |
| 4 | int main() { |
| 5 | using namespace matplot; |
| 6 | auto t = linspace(-10, 10, 1000); |
| 7 | auto xt = transform(t, [](auto t) { return exp(-t / 10) * sin(5 * t); }); |
| 8 | auto yt = transform(t, [](auto t) { return exp(-t / 10) * cos(5 * t); }); |
| 9 | auto p = plot3(xt, yt, t); |
| 10 | p->line_width(3); |
| 11 | show(); |
| 12 | return 0; |
| 13 | } |
nothing calls this directly
no test coverage detected