I have a GUI that shells a program generating a plot as output.
Each time the user presses 'OK', a new plot is made, appearing in a new window.
What I'd like to have is the following:
- User starts GUI, enters required input parameters and presses 'OK'.
- A 'main' figure window opens and a plot appears as a docked figure in the main window.
- User changes the settings and confirms with 'OK'.
- Another docked figure showing a new plot is added to the main window.
- etc.
For me it's not clear how to:
- Define the main/parent figure window that will hold the generated children plot figures.
- Add these plot figures to the main figure window.
If I start with:
set(0,'DefaultFigureWindowStyle','docked')
is it possible then to further customize some properties of the main window?
I think of title, position, no menubar, ...
Can anyone help me with some hints?
Thanks!
Notes:
- It seems that it's not possible to dock figures in a predefined figure window; you can only dock to the desktop. That's what I understand until now since searching the internet.