본문 바로가기

python/Matplotlib

pyplot_2

import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4], [1, 4, 9, 16])
plt.ylabel('some numbers')
plt.show()

 

 

'python > Matplotlib' 카테고리의 다른 글

삼각형, 사각형, 점선 그래프  (0) 2021.07.19
점 그래프  (0) 2021.07.19
pyplot  (0) 2021.07.19
Splitting lines into smaller chunk  (0) 2021.07.19
[<matplotlib.lines.Line2D object at 0x7f1c6c06dd30>]  (0) 2021.07.19