Turn on 'View Figure Toolbar' programmaticaly

1 visualización (últimos 30 días)
Rob L
Rob L el 17 de Sept. de 2014
Comentada: Rob L el 10 de Oct. de 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 ?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by