質問編集履歴
2
タグにPythonを追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
投稿したコードに間違いがあったので、更新しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
plt.plot(x, y)
|
56
56
|
plt.xlabel("Angle "+r"$\mathregular{\it{\phi}}$ "+"$\mathregular{[\degree]}$", fontsize=20) # x軸のタイトル
|
57
|
-
plt.ylabel("Probability $\itP$"+r"$\mathregular{_{SW}}$", fontsize=20) # y軸
|
57
|
+
plt.ylabel("Probability "+r"$\mathregular{\itP}$"+r"$\mathregular{_{SW}}$", fontsize=20) # y軸
|
58
58
|
|
59
59
|
plt.show()
|
60
60
|
```
|