| 2 | #include <matplot/matplot.h> |
| 3 | |
| 4 | int main() { |
| 5 | using namespace matplot; |
| 6 | auto t = iota(0, pi / 20, 10 * pi); |
| 7 | auto xt = transform(t, [](auto t) { return sin(t); }); |
| 8 | auto yt = transform(t, [](auto t) { return cos(t); }); |
| 9 | auto l = plot3(xt, yt, t, "-ob"); |
| 10 | l->marker_size(10); |
| 11 | l->marker_face_color("#D9FFFF"); |
| 12 | xlabel("x(t)"); |
| 13 | ylabel("y(t)"); |
| 14 | zlabel("t"); |
| 15 | show(); |
| 16 | return 0; |
| 17 | } |
nothing calls this directly
no test coverage detected