필터 지우기
필터 지우기

How to make the axis limits only adjust for some objects, without slowing down plotting?

조회 수: 1 (최근 30일)
I have an application where I plot a road, a host vehicle and objects surrounding the host vehicle from a birdview perspective. The road is plotted once and the objects are updated periodically by setting the XData and YData properties.
Since the road can be very long but all objects are close to the host vehicle, I would like the axis limits to automatically adjust for the objects, but not for the road.
The only thing that worked so far has been to calculate the x and y range in which objects exist and call axis() with the new limits every time the objects are updated. Unfortunately this approach slows down my application significantly.
Is there another way?
I'm using Matlab R2013b.

답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by