How can I force a figure to refresh?
Mostrar comentarios más antiguos
I have a figure that I am doing a lot of programtic manipulation to and after all of the code has executed, some of the elements either aren't visible, or the sizes are all wrong. However, if I simply grab the endge of the window and just slightly resize the figure, everything is refreshed and looks normal.
Before someone says "drawnow", I have tried "drawnow" in multiple locations. It seems like I need to flag the figure as dirty and then call "drawnow", but I haven't figured out a way to do that.
2 comentarios
Askic V
el 18 de En. de 2023
Did you check refreshdata from the documentation?
https://www.mathworks.com/help/matlab/creating_plots/making-graphs-responsive-with-data-linking.html
Matt Butts
el 18 de En. de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graphics Performance en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!