I created a plotting tool and its GUI. The tool lets you create blank figures with a specific tag so that I can only plot to the figures generated by the tool.
In other words, when I plot things with the tool, the GUI 'figure' is not an option to select (it doesn't have the tag). However, since it's still a figure, I can plot onto it from the command line. If I'm not careful by creating a blank figure with 'figure' command in the command line, the 'plot' command will plot on the tool's GUI and I end up relaunch the tool.
Is there a way to render this GUI unplottable? Matlab doesn't see it as the gcf so that 'plot' command will create a new blank figure to plot something.