Turn on 'View Figure Toolbar' programmaticaly
1 次查看(过去 30 天)
显示 更早的评论
I have generated a figure to which I add text via a uicontrol command. This turns off visibility of the 'Figure Toolbar'.
I can use the 'View' menu to toggle visibility but I wish to force visibility programmatically. The figure properties do not seem to allow this. Any suggestions ?
0 个评论
采纳的回答
Richard Quist
2014-10-9
Try this:
set(fig, 'toolbar', 'figure')
where fig is the figure you are working with
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!