Info

此问题已关闭。 请重新打开它进行编辑或回答。

Smooth 3-d camera angle pan required

1 次查看(过去 30 天)
Eric LePage
Eric LePage 2019-9-19
关闭: MATLAB Answer Bot 2021-8-20
%% 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 个)

此问题已关闭。

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by