Azzera filtri
Azzera filtri

Turn on 'View Figure Toolbar' programmaticaly

4 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by