回答編集履歴

1

d

2019/03/07 07:32

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
@@ -18,15 +18,23 @@
18
18
 
19
19
 
20
20
 
21
- fig, ax = plt.subplots(facecolor='w')
21
+ fig, ax = plt.subplots(figsize=(8, 8), facecolor='w')
22
22
 
23
23
  ax.set_aspect('equal')
24
24
 
25
25
 
26
26
 
27
- circle = mpatches.Circle(xy=(0.5, 0.5), radius=0.3, fill=False, color='b')
27
+ circle = mpatches.Circle(xy=(100, 100), radius=90, fill=False, color='b')
28
28
 
29
29
  ax.add_patch(circle)
30
+
31
+ ax.set_xlim(0, 200), ax.set_ylim(0, 200)
32
+
33
+ ax.set_xticks(np.arange(0, 200), minor=True)
34
+
35
+ ax.set_yticks(np.arange(0, 200), minor=True)
36
+
37
+ ax.grid(which='minor', alpha=0.5)
30
38
 
31
39
 
32
40
 
@@ -36,4 +44,4 @@
36
44
 
37
45
 
38
46
 
39
- ![イメージ説明](8613e774b52e67dcc520fea72114b237.png)
47
+ ![イメージ説明](68032283452ad365162b8eefb13451bb.png)