0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

y=x

Posted at
import matplotlib.pyplot as plt

x = [-10, 10]
y = [-10, 10]

plt.plot(x, y) # y = x の直線を描く
plt.title("y = x") # グラフのタイトル
plt.xlabel("x") # x軸ラベル
plt.ylabel("y") # y軸ラベル
plt.grid(True) # グリッド(目盛り線)を表示

plt.show()
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?