3D散点图的2D屏幕投影

时间:2018-06-12 16:13:59

标签: python plot 3d projection screen-projection

我在Python中有一个3D散点图,我想知道是否可以根据散点图的方位角和仰角将每个坐标(x,y,z)转换为2D坐标。为了澄清,我询问如何将每个点投影到XY / XZ / YZ平面上。我想将我在屏幕上看到的内容投影到2D平面上。举一个简单的例子,如果我想以这个角度投影3D数据:

enter image description here

位于(0,0)的(方位角,仰角),我会得到这个:

enter image description here

这只是YZ飞机。但是,如果我想用这个(azim,elev)组合对数据进行二维屏幕投影呢?

enter image description here

我经过某种变换或者类似的变换后,会给我一个二维投影,其点大致如下所示:

enter image description here

0 个答案:

没有答案