User Tools

Site Tools


python:matplotlib:基本的な使い方

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
python:matplotlib:基本的な使い方 [2018/01/21 00:27]
koudai [初めてのプロット]
python:matplotlib:基本的な使い方 [2018/01/21 00:30]
koudai [ラベルの作成]
Line 107: Line 107:
 plt.title("graph"  # グラフのタイトル plt.title("graph"  # グラフのタイトル
 plt.xlabel("x"     # x軸(横軸)のラベル plt.xlabel("x"     # x軸(横軸)のラベル
-plt.ylabel("sin x" # y軸(縦軸)のラベル+plt.ylabel("y"     # y軸(縦軸)のラベル
  
 plt.plot(x, y) plt.plot(x, y)
python/matplotlib/基本的な使い方.txt · Last modified: 2021/06/27 22:04 (external edit)