Replies: 3 comments 5 replies
-
can you tell me how to use opengl in backend ? Thanks!! |
Beta Was this translation helpful? Give feedback.
2 replies
-
Is there any update on this? I am still facing the issue on the same while updating the values in real time |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @alandefreitas , I have figured out a round-about solution for that. After saving the image into a temporary file and the reading that file using opencv for visualisation solves the problem of blinking of the image. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I am trying to have a figure updating a solution of a simple 1D linear advection equation in real-time, the only issue I have is that the whole window figure is flashing each time I update the solution instead of having only the curve updated. (backend gnuplot with wxt on windows 10)
I remember (no longer have a license...) that in Matlab a way to do it would be to cla() the axes and re-plot the updated data while introducing a pause in the while loop to make it possible to see the propagation at a reasonable speed. Here is a snippet of the code:
My questions are the following:
EDIT: 2) If no is the limitation coming only from the backend or also matplot++ ? After testing solution with OpenGL as backend results are much better and I am getting a smooth real-time rendering.
Thanks,
Marc
Beta Was this translation helpful? Give feedback.
All reactions