Turn on 'View Figure Toolbar' programmaticaly

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일

1 개 추천

Try this:
set(fig, 'toolbar', 'figure')
where fig is the figure you are working with

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2014년 9월 17일

댓글:

2014년 10월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by