Rotate around one axis in 3d plot
古いコメントを表示
Dear People,
I would like to know how to it is possible to freeze only one axis in a 3D plot, so to allow only "cylindrical rotations" with the mouse, i.e. rotations around only one axis. The function "rotate3d" seems to rotate around all axes, whereas "rotate" seems to apply to 2D plots. In particular, I would like it to work with "pcshow".
Any advice? Thanks in advance!
Adrian
3 件のコメント
Rik
2018 年 1 月 29 日
From what I can find in the doc, rotate rotates the actual object, not the view, so that is different from rotate3d. I know it is possible to do this for zoom and pan, so it surprises me that I can't find how this would be possible with rotate3d.
Adrian Szatmari
2018 年 1 月 30 日
KSSV
2018 年 1 月 30 日
You can have a look on affine transformations. You can define your own rotation matrix and do what you want.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!