Turn on 'View Figure Toolbar' programmaticaly

조회 수: 1 (최근 30일)
Rob L
Rob L 2014년 9월 17일
댓글: Rob L 2014년 10월 10일
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