Closed Timothysit closed 2 years ago
This is now solved by plotting everything in a single figure handle (and clearing the figure between plots).
See commit de0e773 and commits around the same time to all the plotting functions.
I notice some empty figures after running PlotNetMet
but this does not seem to affect plotting function, just a minor nuisance. I will reopen this issue if those empty figures turn out to be problematic.
Problem
Currently when running through a batch of plots, new windows pop up with the plot which steals the focus of the mouse, making it difficult to work on other things whilst the code is running. (I briefly read that this may be more of an issue on Linux machines, I am running my code on Ubuntu 18.04.4 LTS, Matlab R2019b.)
Proposed solution
It will be great to have the plots not pop up, perhaps see here for potential solution.