Yes, for sure. Open the .fig in GUIDE and use GUIDE to add an axes and take note of the tag. Then create a "plot" pushbutton. In the callback for the new pushbutton, use
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