回答編集履歴

1

2023/01/22 19:25

投稿

melian
melian

スコア19714

test CHANGED
@@ -7,7 +7,7 @@
7
7
  dfs = [pd.read_table(f'/data_{i}.txt', sep=r'\s+', header=None, names=['z', 'y', 'x'])
8
8
  .head(n) for i in range(1, 11)]
9
9
 
10
- plt.figure(figsize=[10, 10])
10
+ plt.figure(figsize=[6, 6])
11
11
  ax = plt.gca()
12
12
  for df in dfs:
13
13
  df.iloc[1:-1].plot(x='x', y='y', kind='scatter', marker='*', ax=ax)
@@ -16,4 +16,4 @@
16
16
 
17
17
  plt.show()
18
18
  ```
19
- ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2023-01-23/8b123e4d-5b91-40c5-8c65-1f1664fb33fa.png)
19
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2023-01-23/5a2f279c-edfb-4fe3-8290-12344f0961f2.png)