回答編集履歴
1
コード修正
test
CHANGED
@@ -11,10 +11,6 @@
|
|
11
11
|
import math
|
12
12
|
|
13
13
|
import matplotlib.pyplot as plt
|
14
|
-
|
15
|
-
from mpl_toolkits.mplot3d import Axes3D
|
16
|
-
|
17
|
-
|
18
14
|
|
19
15
|
|
20
16
|
|
@@ -68,8 +64,10 @@
|
|
68
64
|
|
69
65
|
fig,ax = plt.subplots()
|
70
66
|
|
71
|
-
ax.pcolormesh(X,Y,H, cmap=plt.cm.gray)
|
67
|
+
m = ax.pcolormesh(X,Y,H, cmap=plt.cm.gray)
|
68
|
+
|
69
|
+
fig.colorbar(m)
|
72
70
|
|
73
71
|
```
|
74
72
|
|
75
|
-
![イメージ説明](e3
|
73
|
+
![イメージ説明](bf04f522c7e33652413ced46a416f756.png)
|