필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Show Figures Immedietly on Ubuntu 14.04

조회 수: 1 (최근 30일)
Richard
Richard 2015년 12월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Walter Roberson
Walter Roberson 2015년 12월 31일
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.)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by