Info
This question is closed. Reopen it to edit or answer.
Smooth 3-d camera angle pan required
1 view (last 30 days)
Show older comments
%% 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 Comments
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!