I use an optimization algorithm to find an optimal shape for a certain functional. I made the program show me the current figure at every iteration to see where everything is going. The problem is that I cannot do anything while the program works (and the program takes 5-10 minutes to finish), because the figure keeps popping up on top, and if I am writing something, for example, the window focus changes on the matlab figure.
It is possible to keep the matlab figure from being on top when the figure changes? For example I use a dual monitor setup, and moved the figure to the second monitor. Can the figure change without changing the focus from the current window I work in?
Won’t using
OuterPositiondo the trick?Here’s an example that should keep the figure in the top right third of the screen:
Reposition the figure by changing its
OuterPositionproperties:There’s also this option to disable an entire figure window while some processing is taking place….