A GUI is a figure. A figure cannot be a child of a figure. Therefore it is not clear, what you want to achieve. Please explain, what "draw a figure" exactly means.
You can create a GUI in a script also. But GUIDE uses nested function and/or subfunctions for the callbacks. And functions cannot be defined inside scripts.
Best Answer