Can I supress a flashing title bar when refreshing plots?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dara Parsavand
el 15 de Feb. de 2012
Comentada: Dara Parsavand
el 21 de Mzo. de 2017
I've looked at the doc page for figure properties and I don't see that this is possible, but perhaps it is. My question is probably OS specific (using Windows XP Pro now, will try this in Redhat as well): Can one move between different plot windows and refresh the plot, e.g.
figure(1), plot([1 2], [3 4]) figure(2), plot([5 6], [7 8])
and not have the title bars (the very top bar that says Figure 1 or 2) flash?
My application is trying replace the Simulink visualization tools (which in general are very unsatisfying) with S-function tokens that drive normal MATLAB plots. One issue though is that on every refresh the plot is flashing at you (which the Simulink version does not do). But in general, anyone who loops over a plotting line of code and wants to show an animated plot could benefit from controlling this behavior.
Thanks, Dara
0 comentarios
Respuesta aceptada
Walter Roberson
el 15 de Feb. de 2012
Maybe. If you set() the figure to visibility 'off', update the plot, and set the visibility 'on' then the updates flash less.
1 comentario
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!