質問編集履歴
4
図4変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -81,7 +81,7 @@
|
|
81
81
|
plt.tight_layout()
|
82
82
|
plt.show()
|
83
83
|
```
|
84
|
-

|
85
85
|
図4
|
86
86
|
|
87
87
|
|
3
図4追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -81,6 +81,8 @@
|
|
81
81
|
plt.tight_layout()
|
82
82
|
plt.show()
|
83
83
|
```
|
84
|
+

|
85
|
+
図4
|
84
86
|
|
85
87
|
|
86
88
|
|
2
図2,図3追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -59,6 +59,28 @@
|
|
59
59
|
|
60
60
|
### 補足
|
61
61
|

|
62
|
+
図1:目標はこのような感じで滑らかなヒートマップ
|
63
|
+
|
64
|
+

|
62
|
-
|
65
|
+
図2
|
66
|
+
```python
|
67
|
+
plt.hist2d(y, z, bins=(500, 500), cmap=plt.cm.Greys)
|
68
|
+
plt.xlim(-1000, -825)
|
69
|
+
plt.ylim(120, 225)
|
70
|
+
plt.show()
|
71
|
+
```
|
72
|
+

|
73
|
+
図3
|
74
|
+
```python
|
75
|
+
fig, ax = plt.subplots(figsize =(100, 57))
|
76
|
+
plt.hexbin(y, z, bins = 10000, cmap=plt.cm.binary)
|
77
|
+
ax.set_xlabel('X-axis')
|
78
|
+
ax.set_ylabel('Y-axis')
|
79
|
+
plt.xlim(-1000, -825)
|
80
|
+
plt.ylim(120, 225)
|
81
|
+
plt.tight_layout()
|
82
|
+
plt.show()
|
83
|
+
```
|
63
84
|
|
64
85
|
|
86
|
+
|
1
図1追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,3 +57,8 @@
|
|
57
57
|
### 考え
|
58
58
|
イメージとしてはpandasの行、列にy,zを振り分けて値に重複回数を入れたいのですが、やり方がわからないです。
|
59
59
|
|
60
|
+
### 補足
|
61
|
+

|
62
|
+
図1
|
63
|
+
|
64
|
+
|