diff --git a/examples/animation.cpp b/examples/animation.cpp new file mode 100644 index 0000000..ef11929 --- /dev/null +++ b/examples/animation.cpp @@ -0,0 +1,36 @@ +#define _USE_MATH_DEFINES +#include +#include "../matplotlibcpp.h" + +namespace plt = matplotlibcpp; + +int main() +{ + int n = 1000; + std::vector x, y, z; + + for(int i=0; i