質問編集履歴

4

図4変更

2022/11/16 14:51

投稿

German_p0tat0
German_p0tat0

スコア26

test CHANGED
File without changes
test CHANGED
@@ -81,7 +81,7 @@
81
81
  plt.tight_layout()
82
82
  plt.show()
83
83
  ```
84
- ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/7dd0ae4d-c8b8-4a04-8b1a-94b42734935e.png)
84
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/7b4c1f81-9796-48bd-94af-a4e5ab0f0239.png)
85
85
  図4
86
86
 
87
87
 

3

図4追加

2022/11/16 13:58

投稿

German_p0tat0
German_p0tat0

スコア26

test CHANGED
File without changes
test CHANGED
@@ -81,6 +81,8 @@
81
81
  plt.tight_layout()
82
82
  plt.show()
83
83
  ```
84
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/7dd0ae4d-c8b8-4a04-8b1a-94b42734935e.png)
85
+ 図4
84
86
 
85
87
 
86
88
 

2

図2,図3追加

2022/11/16 09:31

投稿

German_p0tat0
German_p0tat0

スコア26

test CHANGED
File without changes
test CHANGED
@@ -59,6 +59,28 @@
59
59
 
60
60
  ### 補足
61
61
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/d845a8af-df70-442e-b893-a756abe7fb4d.png)
62
+ 図1:目標はこのような感じで滑らかなヒートマップ
63
+
64
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/3205ebf0-e8ca-4337-82ba-beb098a329e8.png)
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
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/f9dfda9e-778f-4f28-878f-5b36fab97673.png)
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追加

2022/11/16 08:44

投稿

German_p0tat0
German_p0tat0

スコア26

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,8 @@
57
57
  ### 考え
58
58
  イメージとしてはpandasの行、列にy,zを振り分けて値に重複回数を入れたいのですが、やり方がわからないです。
59
59
 
60
+ ### 補足
61
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-16/d845a8af-df70-442e-b893-a756abe7fb4d.png)
62
+                     図1
63
+
64
+