delete "watermark" automatically created by tabpanel constructor v.2.8.1?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have used tabpanel constructor v.2.8.1 in matlab 7.8.0 (R2009a) to create a GUI with several tabs. In one of the tabs I have some axes. After I wrote in the axes property inspector their tag and the axes_CreateFcn, it automatically include, when I closed that tab's GUIDE, a copy of those axes in the middle of all tabs within the GUI , as if it was a watermark. If the editor for each tab is opened, that watermark/axes doesn't appear (so I can't delete it). But running the GUI it does. In fact, as I have a function to change the image displayed in the axes, the "watermark" changes when that function is called. I have managed to delete it when the GUI is run including in the code "delete(gca)", but it continues appearing when opening tabpanel.
I know it's quite strange but it happend twice already. Any ideas to remove it from tabpanel? Thanks.
0 Commenti
Risposte (1)
Walter Roberson
il 6 Mar 2013
GUIDE is not written to be able to handle tabbed panels. GUIDE is written with the expectation that everything you have created on a figure is non-overlapping and that if something is not currently visible it is only because its Visiblity was set 'off', not because something overlays it.
2 Commenti
Walter Roberson
il 8 Mar 2013
If you rewrite the GUIDE generated code sufficiently, of course it can be done. My experiences with GUIDE convinced me it was easier to rewrite without GUIDE than to fix up GUIDE code afterwards. But that's my opinion.
I do not have enough patience with GUIDE to go through to debug an issue like what you have seen.
Vedere anche
Categorie
Scopri di più su Graphics Object Programming in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!