Rotate around z-axis only in plotly

好久不见. 提交于 2019-12-25 04:43:33

问题


I'm trying out plotly for interactive 3D plotting, and it's great, but I found the 3D rotated plots a bit annoying, since by default the rotation is around all x, y and z axes (similarly as in e.g. Google Maps).

Is it possible to rotate only around the z-axis and just pan the camera view up and down?

So basically now the rotation is SO(3) in Lie group terms. I'd prefer at least an option to use SO(2)*R.


回答1:


May 27 2015 EDIT

Plotly 3D graph interact in a new turntable mode of rotation.

We made this the default. Try it on any 3D graph.

Original answer

At the moment, Plotly 3D graphs only support one mode of rotation, as you described.

That said, adding a second "simple" mode of rotation is on our short term road map.

In the meantime, I suggest using the "back to default" and "back to last save" buttons in the modebar

if ever your graph gets lost in rotation.



来源:https://stackoverflow.com/questions/27677556/rotate-around-z-axis-only-in-plotly

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!