質問するログイン新規登録

質問編集履歴

2

タグにPythonを追加

2017/01/26 08:25

投稿

Sain
Sain

スコア12

title CHANGED
File without changes
body CHANGED
File without changes

1

投稿したコードに間違いがあったので、更新しました。

2017/01/26 08:25

投稿

Sain
Sain

スコア12

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
  ```