Turn on 'View Figure Toolbar' programmaticaly

4 次查看(过去 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 ?

采纳的回答

Richard Quist
Richard Quist 2014-10-9
Try this:
set(fig, 'toolbar', 'figure')
where fig is the figure you are working with

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by