graphics performance 2019a vs 2016b

조회 수: 1 (최근 30일)
Christopher
Christopher 2020년 4월 23일
댓글: Christopher 2020년 4월 28일
running on a core I7, 16 GB ram 64 bit laptop. I have matlab m-files making figure plots with a couple dozen line handles encompassing 100's of thousands of points. 2016b performs faster in plotting them, while 2019a seems to hesitate between each set of lines. m-file code is no different between the two versions. the plots make use of the 'UserData' and 'Tag' functionality to store data in the lines, for use in extracting the data via selection/callbacks. Any obvious reason why 2019a is slower than 2016b in plotting?

채택된 답변

Yair Altman
Yair Altman 2020년 4월 26일
R2019a uses the integrated axes toolbar, which constantly monitors mouse movements in order to generate data tips on-the-fly. If you turn off this functionality you'll probably discover that interactivity becomes much "snappier".
  댓글 수: 1
Christopher
Christopher 2020년 4월 28일
thanks Yair, this did help. I'd been told of this before, but never really ran into the issue, so had not made it part of regular axes calls. I will from now on. I use a panel and cover it with tabs, similar to your example, but only populate the first two tabs, but each with about 20 line handles, each of which can have hundreds of thousands of points. The temporal performance was further slowed by what profiler found as unncessary calls to 'figure' and drawnow while prcessing each of the two tabs. (likely from debugging earlier on). Removing those sped up part of the code, and setting the interactivity to empty set improved it further. Thanks again, appreciate your expertise.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by