Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Show Figures Immedietly on Ubuntu 14.04

1 Ansicht (letzte 30 Tage)
Richard
Richard am 31 Dez. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (1)

Walter Roberson
Walter Roberson am 31 Dez. 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.)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by