Compare commits

...

4 Commits

Author SHA1 Message Date
冯冬卫 121bd2b0b7 俯视图修改 1 year ago
冯冬卫 2498390de9 modify 2023-04-08 1 year ago
冯冬卫 bd7e5e2c93 modify 2023-04-08 1 year ago
冯冬卫 4702132c18 modify 2023-04-08 1 year ago

@ -1 +1 @@
creat_3d.py
3d_plot_1.py

@ -470,7 +470,7 @@ class MainWindow(QMainWindow):
ang_2 = np.arccos(np.dot(direct2, np.array(([0, 1, 0]))) / np.linalg.norm(direct2)) / np.pi * 180
ang_3 = np.arccos(np.dot(direct3, np.array(([0, 0, 1]))) / np.linalg.norm(direct3)) / np.pi * 180
if self.over_view==1:
ax.view_init(elev=90, azim=0) # 俯视图
ax.view_init(elev=90, azim=-90) # 俯视图
print(np.dot(direct1,direct2), ang_1, ang_2, ang_3)
# 标注长短轴

Loading…
Cancel
Save