Effacer les filtres
Effacer les filtres

Turn on 'View Figure Toolbar' programmaticaly

4 vues (au cours des 30 derniers jours)
Rob L
Rob L le 17 Sep 2014
Commenté : Rob L le 10 Oct 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 ?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by