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?

 採用された回答

DGM
DGM 2023 年 1 月 18 日

0 投票

You should be able to query and set the camera position using view();
[az el] = view(); % get position
% ...
view(az,el); % set position

1 件のコメント

Salad Box
Salad Box 2023 年 1 月 18 日
編集済み: Salad Box 2023 年 1 月 18 日
Spot on! Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索

質問済み:

2023 年 1 月 18 日

編集済み:

2023 年 1 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by