question on tabbed plots.
1 次查看(过去 30 天)
显示 更早的评论
i have three tabs in my figure... something like H1 = uitab(tgp,'Title','Micrograph'); H2 = uitab(tgp,'Title','Histograms'); H3 = uitab(tgp,'Title','Original_MG');
Is there a way to show the current tab automatically without user clicking on the tab. For e.g. I have plots in tabs H1, and H2. Now the open tab is say H1. Now i try to plot something in H3. it is hidden until the user clicks on table H3 titled "Original_MG'.
0 个评论
采纳的回答
David Barry
2017-11-29
uitabgroup has a SelectedTab property which allows you to query the currently selected tab but also to change the currently selected tab. See doc
tgp.SelectedTab = H3;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!