I am using matplotlib.h to draw graphs with C++,
vector<double> Cx;
vector<double> Cy;
plt::plot(Cx,Cy,"*");
plt::show();
The problem is that I want to display the evolution of the two vectors with an animation like, so the function is here:
plt::show();
Is blocking the main thread and until the window is closed everything is blocked.
So is there anyway to change the plotted data without closing the Window and display to the user an animation