Smooth 3-d camera angle pan required

%% smooth3dpan
% This m-file generates a line in 3d representing plot of azimuth and elevation versus time. I want to generate a video of a 3d image by smoothly following
% these coordinates. I'd appreciate a suggestion. Thanks
figure
coords = [8 18
13 26
17 26
27 25
31 30
55 31
82 32
95 42
118 68
81 36
47 35
14 38
6 28
-18 16
-62 6
-3 90
2 43
8 18
];
azm = coords(:,1);
elv = coords(:,2);
tim = 1:length(azm);
plot3(azm,elv,tim,'-ro','linewidth',2)
set(gca,'fontsize',15)
xlabel('azimuth')
ylabel('elevation')
zlabel('time')
grid on
rotate3d on
view(-142,5)

답변 (0개)

이 질문은 마감되었습니다.

제품

태그

질문:

2019년 9월 19일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by