How to speed up manipulations of plot with a lot of data

조회 수: 7 (최근 30일)
K E
K E 2016년 10월 18일
편집: K E 2016년 10월 18일
I have time series with 20000000 samples that I am plotting in R2016b for data exploration. I would prefer not to downsample or subset the data because I have to look at closeups scattered through the whole time series, and I need to be able to zoom in/out, select lines to extract values, etc. Possibly due to the data volume, the Figure Interactive tools (selection arrow, pan icon, data brush ) are periodically grayed out on the figure toolbar. Sometimes the cursor disappears inside the figure window if I want to zoom in. These down times can be several minutes.
Are there any tricks for manual manipulation of high-volume plots, such as avoiding use of markers?
  댓글 수: 2
dpb
dpb 2016년 10월 18일
" I can't downsample or subset the data, ..."
Of course you can; at most there are a few thousand pixels on the screen so more than that isn't seen, anyway. Decimate (including bounding if desired to keep min/max in range) to show initial plot, then pull in more data as needed in ranges or as zoom.
K E
K E 2016년 10월 18일
편집: K E 2016년 10월 18일
You are right. I edited the text to indicate it is a preference not to downsample or subset.

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

채택된 답변

Sean de Wolski
Sean de Wolski 2016년 10월 18일
편집: Sean de Wolski 2016년 10월 18일
Have you tried plot (big)?
  댓글 수: 1
K E
K E 2016년 10월 18일
편집: K E 2016년 10월 18일
plot (big) makes plot operations manageable. Thanks for a very helpful suggestion; others with this problem should definitely try it.

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

추가 답변 (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