How to know how much I rotated a figure?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
Matlab plotted my data points like this:
Then I manually rotated the figure to this:
Is there a way to record the rotation details, such as angles, moving forwards/backward, left/right, up/down, I don't know, just anything describing the rotation? So that I can automatically apply the same rotation to other figures so that objects in all my figures will facing the same way?
0 个评论
采纳的回答
DGM
2023-1-18
You should be able to query and set the camera position using view();
[az el] = view(); % get position
% ...
view(az,el); % set position
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Scene Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!