Rotate around one axis in 3d plot

12 Ansichten (letzte 30 Tage)
Adrian Szatmari
Adrian Szatmari am 29 Jan. 2018
Kommentiert: KSSV am 30 Jan. 2018
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 Kommentare
Adrian Szatmari
Adrian Szatmari am 30 Jan. 2018
Thanks for looking into it. Yeah, for 3d objects / clouds, as soon as you grab the plot with the mouse it starts to go all over the place... Very annoying.
KSSV
KSSV am 30 Jan. 2018
You can have a look on affine transformations. You can define your own rotation matrix and do what you want.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by