Dynamically changing axes limits - stop jitter when a new number appears
4 次查看(过去 30 天)
显示 更早的评论
I am making a 3D animation to visualise some trajectories I'm generating using MATLAB. I have some graphs that show the states over time. The x axis limits are changed during every frame to show the previous 8 seconds of action. It all works OK but whenever a new seconds number appear the graphs 'flicker' which is not visually appealing.
The line of code that controls the x-axis is:
xlim(axAttitude,[tInterp(ii)-xAxisLimLeft tInterp(ii)+1])
Does anyone have any suggestions on how to stop this from happening?
Thanks,
Jonathan
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!