I am trying to create a GUI that will update a matplotib plot with continuous data gathering. I would like to plot the last 5 data points and place some space in front of the most recent data point
Here is a very simplified version of my script which explains what's my problem:
I have already tried to use the show (block = false) and some other things what code to continue Can this force be forced to remain open for use and command I can use to update it? Any other suggestions would be greatly appreciated.
The following sequence worked for me ..
- Ion () -
- To show ()
- To show
Update the graph - Plot () - Draw () - Instead show ( )
No comments:
Post a Comment