Plotting >500 curves verry slow since new plotting mode appeared?

조회 수: 3 (최근 30일)
I have been plotting many 1000 curves (double with ~32000 points in each line) in matlab with regular "plot" function and have recently experienced that it is very slow. I have increased Java Heap memory to 4 GB but it doesnt help .
I have a vage memory that the shift happened around the same time that the new plot features appeared, ie the tools in the right top corner. Could this be the reason? if so is there any way of forcing some plots to use the old method?
  댓글 수: 3
Micke Malmström
Micke Malmström 2020년 11월 9일
that is a valid question but sometimes I actually need it. The question is why I experience is slower nowadays...
Micke Malmström
Micke Malmström 2021년 2월 17일
Found the error in my own code. I was changeing the color of the lines in a bad way (going through the properties of each line one by one). Now using colororder it’s much better.

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

채택된 답변

Micke Malmström
Micke Malmström 2021년 2월 17일
Se comment above about colororder

추가 답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 11월 2일
Try disabling the toolbar
ax = axes();
ax.Toolbar = [];
Also, try disabling the interactions if you don't need it: https://www.mathworks.com/help/matlab/ref/disabledefaultinteractivity.html

카테고리

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

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by