Turn on 'View Figure Toolbar' programmaticaly

1 Ansicht (letzte 30 Tage)
Rob L
Rob L am 17 Sep. 2014
Kommentiert: Rob L am 10 Okt. 2014
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 ?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by