Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Show Figures Immedietly on Ubuntu 14.04

1 visualización (últimos 30 días)
Richard
Richard el 31 de Dic. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Linux Ubuntu 14.04 with Matlab R2015a
Hello,
I want my figures to appear as soon as I plot something. Currently, if my script generates 10 figures, all of them only appear after the entire script completes, in bulk at once. I want each figure window and subsequent plots within the window to appear as the script is running. I've searched for answers to this but have not found anything very useful. I'm looking for a system wide setting change so I don't have to keep doing this.
I'm not trying to implement movie like effects using pause and drawnow, to be clear. I'm trying to get my MATLAB install on Ubuntu to behave the way a default install usually does on Windows.
Rich

Respuestas (1)

Walter Roberson
Walter Roberson el 31 de Dic. de 2015
The defined behaviour for MATLAB is that graphics are not to be rendered until pause() or drawnow() or figure() or waitfor()/uiwait() are encountered, or just before MATLAB is ready for keyboard input (because the function or script is finished or because of keyboard())
If you were seeing a different behaviour than that on MS Windows then it was a bug. (Yes, a bug: rendering with every command in a script ruins performance, and triggers updates of some values that are defined as not being re-calculated until rendering happens, which makes a difference when fetching properties.)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by