From 121bd2b0b77998587b179785f68b19e26c51225d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E5=86=AC=E5=8D=AB?= Date: Sat, 27 May 2023 21:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AF=E8=A7=86=E5=9B=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3d_plot_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d_plot_1.py b/3d_plot_1.py index 7786cfc..967e812 100644 --- a/3d_plot_1.py +++ b/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=90) # 俯视图 + ax.view_init(elev=90, azim=-90) # 俯视图 print(np.dot(direct1,direct2), ang_1, ang_2, ang_3) # 标注长短轴