XData and YData for plotm (mapping toolbox, drawnow)

I have a lat/lon track which is updating in time via an interpolation to gather FPS.
The code is already slow due to drawnow, as on a normal plot I would call set() to update the properties, this doesn't seem to exist with plotm.
Also, the lat/lon tracks are in segments, meaning there is a for loop for each segment. Using drawnow, by the final segment the speed of the plot update is unbelievably slow, can someone explain why drawnow seems to stack rather than refresh.
Any suggestions to speed up the animation?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Animation에 대해 자세히 알아보기

질문:

2017년 2월 25일

편집:

2017년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by