回答編集履歴
1
追記しました
test
CHANGED
@@ -25,3 +25,39 @@
|
|
25
25
|
|
26
26
|
|
27
27
|
おそらく、PyCharm上とJypyter上ではカレントディレクトリが違います。
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
----------------------------------------------------
|
32
|
+
|
33
|
+
追記
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```python
|
38
|
+
|
39
|
+
import numpy as np
|
40
|
+
|
41
|
+
import matplotlib.pyplot as plt
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
points = np.arange(-5, 5, 0.01)
|
46
|
+
|
47
|
+
dx, dy = np.meshgrid(points, points)
|
48
|
+
|
49
|
+
z = (np.sin(dx)+np.sin(dy))
|
50
|
+
|
51
|
+
plt.imshow(z)
|
52
|
+
|
53
|
+
plt.colorbar()
|
54
|
+
|
55
|
+
plt.title('plot for sin(x)+sin(y)')
|
56
|
+
|
57
|
+
plt.show()
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
上記のコードはどのように表示されますか?
|