質問編集履歴
4
title
CHANGED
File without changes
|
body
CHANGED
@@ -73,8 +73,8 @@
|
|
73
73
|
|
74
74
|
# U相グラフ描画
|
75
75
|
plt.subplot(2, 6, 1)
|
76
|
+
plt.title("U Phase", fontsize=20)
|
76
|
-
plt.
|
77
|
+
plt.plot(Time, SinU, label="Sin")<<<<<<<<<<<<<<<<<<<<
|
77
|
-
plt.plot(Time, SinU, label="Sin")
|
78
78
|
plt.plot(Time, TriWave, label="Tri")
|
79
79
|
plt.legend(loc="lower right", fontsize=10)
|
80
80
|
plt.subplot(2, 6, 3)
|
3
title
CHANGED
File without changes
|
body
CHANGED
@@ -42,6 +42,8 @@
|
|
42
42
|
|
43
43
|
### 該当のソースコード
|
44
44
|
|
45
|
+
エラー部を<<<<で示しています。
|
46
|
+
|
45
47
|
```Python3
|
46
48
|
import matplotlib.pyplot as plt
|
47
49
|
import numpy as np
|
@@ -71,7 +73,7 @@
|
|
71
73
|
|
72
74
|
# U相グラフ描画
|
73
75
|
plt.subplot(2, 6, 1)
|
74
|
-
plt.title("U Phase", fontsize=20)
|
76
|
+
plt.title("U Phase", fontsize=20)<<<<<<<<<<<
|
75
77
|
plt.plot(Time, SinU, label="Sin")
|
76
78
|
plt.plot(Time, TriWave, label="Tri")
|
77
79
|
plt.legend(loc="lower right", fontsize=10)
|
2
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
matplotlib
|
1
|
+
matplotlibでのValue Error(配列の数が原因と思われます)
|
body
CHANGED
File without changes
|