回答編集履歴
1
図にalpha値を追加
test
CHANGED
@@ -22,17 +22,17 @@
|
|
22
22
|
|
23
23
|
ax = plt.subplot(111, projection='3d')
|
24
24
|
|
25
|
-
ax.plot_surface(X,Y,1)
|
25
|
+
ax.plot_surface(X,Y,1,alpha=0.7)
|
26
26
|
|
27
|
-
ax.plot_surface(X,Y,-1)
|
27
|
+
ax.plot_surface(X,Y,-1,alpha=0.7)
|
28
28
|
|
29
|
-
ax.plot_surface(X,1,Y)
|
29
|
+
ax.plot_surface(X,1,Y,alpha=0.7)
|
30
30
|
|
31
|
-
ax.plot_surface(X,-1,Y)
|
31
|
+
ax.plot_surface(X,-1,Y,alpha=0.7)
|
32
32
|
|
33
|
-
ax.plot_surface(-1,X,Y)
|
33
|
+
ax.plot_surface(-1,X,Y,alpha=0.7)
|
34
34
|
|
35
|
-
ax.plot_surface(-1,X,Y)
|
35
|
+
ax.plot_surface(-1,X,Y,alpha=0.7)
|
36
36
|
|
37
37
|
ax.set_xlim(-2, 2)
|
38
38
|
|
@@ -44,4 +44,4 @@
|
|
44
44
|
|
45
45
|
```
|
46
46
|
|
47
|
-

|