Is there a way to set figure default to "undocked" when double-clicking on a .fig file?
30 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Clay Fulcher
el 4 de Dic. de 2025 a las 21:49
Comentada: Benjamin Kraus
el 5 de Dic. de 2025 a las 19:57
When I double-click on a .fig file, it automatically appears in a "docked" tab in a separate figure container (not in the working window). The text placements are incorrect unless I "undock" the figure from the tab in the container. Is there a way to set a default for the figure to not appear as a tab in a figure container when I double-click on the .fig file?
0 comentarios
Respuesta aceptada
Walter Roberson
el 4 de Dic. de 2025 a las 22:49
Movida: Walter Roberson
el 4 de Dic. de 2025 a las 23:57
set(groot, 'defaultFigureWindowStyle', 'normal')
possibly ?
3 comentarios
Clay Fulcher
el 4 de Dic. de 2025 a las 23:12
Movida: Walter Roberson
el 4 de Dic. de 2025 a las 23:58
Benjamin Kraus
el 5 de Dic. de 2025 a las 19:57
@Clay Fulcher: set(groot, 'defaultFigureWindowStyle', 'normal') is leveraging the graphics "Defaults system" described on this page: https://www.mathworks.com/help/matlab/creating_plots/default-property-values.html
The name defaultFigureWindowStyle translates to "Make the default value of the WindowStyle property on Figure objects be 'normal'. You can read the documentation for the WindowStyle property here: https://www.mathworks.com/help/matlab/ref/matlab.ui.figure.html
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!